BindingRestrictions.GetInstanceRestriction(Expression, Object) 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 object instance identity.
public:
static System::Dynamic::BindingRestrictions ^ GetInstanceRestriction(System::Linq::Expressions::Expression ^ expression, System::Object ^ instance);
public static System.Dynamic.BindingRestrictions GetInstanceRestriction (System.Linq.Expressions.Expression expression, object instance);
public static System.Dynamic.BindingRestrictions GetInstanceRestriction (System.Linq.Expressions.Expression expression, object? instance);
static member GetInstanceRestriction : System.Linq.Expressions.Expression * obj -> System.Dynamic.BindingRestrictions
Public Shared Function GetInstanceRestriction (expression As Expression, instance As Object) As BindingRestrictions
Parameters
- expression
- Expression
The expression to test.
- instance
- Object
The exact object instance to test.
Returns
The new binding restrictions.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.