 | ExtensionMethodsContainsPropertyReference Method |
Searches the expression tree expression to see if there is a property reference to propertyName
Namespace: SanteDBAssembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntaxpublic static bool ContainsPropertyReference(
this Expression expression,
string propertyName
)
<ExtensionAttribute>
Public Shared Function ContainsPropertyReference (
expression As Expression,
propertyName As String
) As Boolean
public:
[ExtensionAttribute]
static bool ContainsPropertyReference(
Expression^ expression,
String^ propertyName
)
[<ExtensionAttribute>]
static member ContainsPropertyReference :
expression : Expression *
propertyName : string -> bool Parameters
- expression Expression
- The expression to be parsed
- propertyName String
- The name of the property to check
Return Value
BooleanThe property reference
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Expression. 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