BindingRestrictions.GetExpressionRestriction(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.
Creates the binding restriction that checks the expression for arbitrary immutable properties.
public:
static System::Dynamic::BindingRestrictions ^ GetExpressionRestriction(System::Linq::Expressions::Expression ^ expression);
public static System.Dynamic.BindingRestrictions GetExpressionRestriction (System.Linq.Expressions.Expression expression);
static member GetExpressionRestriction : System.Linq.Expressions.Expression -> System.Dynamic.BindingRestrictions
Public Shared Function GetExpressionRestriction (expression As Expression) As BindingRestrictions
Parameters
- expression
- Expression
The expression representing the restrictions.
Returns
The new binding restrictions.
Remarks
By convention, the general restrictions created by this method must only test immutable object properties.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.