Expression.Accessor(String, Expression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Construct and validate a property accessor.
public static AdaptiveExpressions.Expression Accessor (string property, AdaptiveExpressions.Expression instance = default);
static member Accessor : string * AdaptiveExpressions.Expression -> AdaptiveExpressions.Expression
Public Shared Function Accessor (property As String, Optional instance As Expression = Nothing) As Expression
Parameters
- property
- String
Property to lookup.
- instance
- Expression
Expression to get instance that contains property or null for global state.
Returns
New expression.