BindingRestrictions.GetInstanceRestriction Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates the binding restriction that checks the expression for object instance identity.
Assembly: System.Core (in System.Core.dll)
public static BindingRestrictions GetInstanceRestriction( Expression expression, Object instance )
Parameters
- expression
- Type: System.Linq.Expressions.Expression
The expression to test.
- instance
- Type: System.Object
The exact object instance to test.
Show: