The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
BindingRestrictions::GetInstanceRestriction Method (Expression^, Object^)
.NET Framework (current version)
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.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Show: