ElementTypeDescriptor::GetComponentName Method ()
Visual Studio 2015
Gets the name of the model element that is represented by this class.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
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.
Show: