ElementNameProvider Class
Represents a name provider for domain elements.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.ElementNameProvider
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣言
Public Class ElementNameProvider
public class ElementNameProvider
public ref class ElementNameProvider
type ElementNameProvider = class end
public class ElementNameProvider
The ElementNameProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ElementNameProvider | Initializes a new instance of the ElementNameProvider class. |
Top
Properties
Name | Description | |
---|---|---|
DomainProperty | Gets or sets the properties for the name provider. |
Top
Methods
Name | Description | |
---|---|---|
CustomSetUniqueNameCore | Sets unique name on the element given base name and list of sibling model elements. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetElementNames | Gets a map of all unique element names for the elements of a given container and embedded role ID. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLinkNames | Gets a map of the link names for the links that are assigned to the role players. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetUniqueName(ElementLink, DomainRoleInfo, String) | Sets the name of a link that is assigned to an element. | |
SetUniqueName(ModelElement, ModelElement, DomainRoleInfo, String) | Sets a unique name on an element. | |
SetUniqueNameCore | Sets the name of an element. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.