Поделиться через


BindingRestrictions Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Inheritance Hierarchy

System.Object
  System.Dynamic.BindingRestrictions

Namespace:  System.Dynamic
Assembly:  System.Core (in System.Core.dll)

Syntax

'Declaration
Public MustInherit Class BindingRestrictions
public abstract class BindingRestrictions

The BindingRestrictions type exposes the following members.

Methods

  Name Description
Public methodStatic member Combine Combines binding restrictions from the list of DynamicMetaObject instances into one set of restrictions.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic member GetExpressionRestriction Creates the binding restriction that checks the expression for arbitrary immutable properties.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodStatic member GetInstanceRestriction Creates the binding restriction that checks the expression for object instance identity.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member GetTypeRestriction Creates the binding restriction that check the expression for runtime type identity.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Merge Merges the set of binding restrictions with the current binding restrictions.
Public method ToExpression Creates the Expression representing the binding restrictions.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member Empty Represents an empty set of binding restrictions. This field is read only.

Top

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

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

See Also

Reference