次の方法で共有


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

'宣言
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

See Also

Reference

PresentationElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace