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.

NameScope Members

Implements base support for the INameScope methods that store or retrieve name-object mappings into a particular namescope, and adds attached property support to make it simpler to get or set identifier namescope information dynamically at the element level..

The following tables list the members exposed by the NameScope type.

  Name Description
Public method NameScope Initializes a new instance of the NameScope class.

  Name Description
Public field Static NameScopeProperty Identifies the NameScope  attached property.

  Name Description
Public property NameScope Gets or sets dynamically attached NameScope instances.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method FindName Returns the corresponding object in a namescope based on a provided name string.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetNameScope Provides the attached property get accessor for the Namescope attached property.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RegisterName Registers a new name-object pair into the current namescope.
Public method Static SetNameScope Provides the attached property set accessor for the NameScope attached property.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Public method UnregisterName Removes a name-object mapping from the namescope.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft