PresentationElementTypeDescriptor.GetComponentName Method

Gets the component name displayed in the property grid.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overrides Function GetComponentName As String
public override string GetComponentName()
public:
virtual String^ GetComponentName() override
abstract GetComponentName : unit -> string  
override GetComponentName : unit -> string
public override function GetComponentName() : String

Return Value

Type: String
Returns the component name of the represented model element, or an empty string if no represented model element / the represented model element does not have a name.

Implements

ICustomTypeDescriptor.GetComponentName

.NET Framework Security

See Also

Reference

PresentationElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace