Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

BindingRestrictions Class

Represents a set of binding restrictions on the DynamicMetaObject under which the dynamic binding is valid.

System.Object
  System.Dynamic.BindingRestrictions

Namespace:  System.Dynamic
Assemblies:   System.Core (in System.Core.dll)
  System.Dynamic.Runtime (in System.Dynamic.Runtime.dll)

[DebuggerDisplayAttribute("{DebugView}")]
public abstract class BindingRestrictions

The BindingRestrictions type exposes the following members.

  NameDescription
Public methodStatic memberSupported by Portable Class LibraryCombineCombines binding restrictions from the list of DynamicMetaObject instances into one set of restrictions.
Public methodSupported by Portable Class LibraryEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodSupported by Portable Class LibraryFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberSupported by Portable Class LibraryGetExpressionRestrictionCreates the binding restriction that checks the expression for arbitrary immutable properties.
Public methodSupported by Portable Class LibraryGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodStatic memberSupported by Portable Class LibraryGetInstanceRestrictionCreates the binding restriction that checks the expression for object instance identity.
Public methodSupported by Portable Class LibraryGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberSupported by Portable Class LibraryGetTypeRestrictionCreates the binding restriction that check the expression for runtime type identity.
Protected methodSupported by Portable Class LibraryMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSupported by Portable Class LibraryMergeMerges the set of binding restrictions with the current binding restrictions.
Public methodSupported by Portable Class LibraryToExpressionCreates the Expression representing the binding restrictions.
Public methodSupported by Portable Class LibraryToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberSupported by Portable Class LibraryEmptyRepresents an empty set of binding restrictions. This field is read only.
Top

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft