 | ExtensionMethodsGetQueryProperty Method |
Get a property based on XML property and/or serialization redirect and/or query parameter
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static PropertyInfo GetQueryProperty(
this Type type,
string propertyName,
bool followReferences = false,
bool dropXmlSuffix = true
)
<ExtensionAttribute>
Public Shared Function GetQueryProperty (
type As Type,
propertyName As String,
Optional followReferences As Boolean = false,
Optional dropXmlSuffix As Boolean = true
) As PropertyInfo
public:
[ExtensionAttribute]
static PropertyInfo^ GetQueryProperty(
Type^ type,
String^ propertyName,
bool followReferences = false,
bool dropXmlSuffix = true
)
[<ExtensionAttribute>]
static member GetQueryProperty :
type : Type *
propertyName : string *
?followReferences : bool *
?dropXmlSuffix : bool
(* Defaults:
let _followReferences = defaultArg followReferences false
let _dropXmlSuffix = defaultArg dropXmlSuffix true
*)
-> PropertyInfo 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