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.481-alpha
Syntax
public static PropertyInfo GetQueryProperty(
	this Type type,
	string propertyName,
	bool followReferences = false
)

Parameters

type
Type: SystemType

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

propertyName
Type: SystemString

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

followReferences (Optional)
Type: SystemBoolean

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

Return Value

Type: PropertyInfo

[Missing <returns> documentation for "M:SanteDB.ExtensionMethods.GetQueryProperty(System.Type,System.String,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