ElementTypeDescriptor::GetComponentName Method ()

 

Gets the name of the model element that is represented by this class.

Namespace:   Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

public:
virtual String^ GetComponentName() override

Return Value

Type: System::String^

The name of the model element that is represented by this class. If the element does not have a name, this property returns the empty string ("").

The metadata for the described model element is represented by an object of type DomainClassInfo. The NameDomainProperty property of the metadata indicates which domain property provides the component name for the model element.

Return to top
Show: