PresentationElementTypeDescriptor.GetComponentName Method
Gets the component name displayed in the property grid.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.