Click or drag to resize

ExtensionMethodsGetQueryProperty Method

Get a property based on XML property and/or serialization redirect and/or query parameter

Namespace: SanteDB
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
public static PropertyInfo GetQueryProperty(
	this Type type,
	string propertyName,
	bool followReferences = false,
	bool dropXmlSuffix = true
)

Parameters

type  Type

[Missing <param name="type"/> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,System.Boolean,System.Boolean)"]

propertyName  String

[Missing <param name="propertyName"/> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,System.Boolean,System.Boolean)"]

followReferences  Boolean  (Optional)

[Missing <param name="followReferences"/> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,System.Boolean,System.Boolean)"]

dropXmlSuffix  Boolean  (Optional)

[Missing <param name="dropXmlSuffix"/> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,System.Boolean,System.Boolean)"]

Return Value

PropertyInfo

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,System.Boolean,System.Boolean)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also