| 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
)
<ExtensionAttribute>
Public Shared Function GetQueryProperty (
type As Type,
propertyName As String,
Optional followReferences As Boolean = false
) As PropertyInfo
public:
[ExtensionAttribute]
static PropertyInfo^ GetQueryProperty(
Type^ type,
String^ propertyName,
bool followReferences = false
)
[<ExtensionAttribute>]
static member GetQueryProperty :
type : Type *
propertyName : string *
?followReferences : bool
(* Defaults:
let _followReferences = defaultArg followReferences false
*)
-> PropertyInfo
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