共用方式為


PresentationElementTypeDescriptor.GetComponentName 方法

取得顯示在屬性方格中的元件名稱。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Overrides Function GetComponentName As String
public override string GetComponentName()

傳回值

型別:System.String
傳回元件的名稱表示的模型項目或如果不是空的字串表示建立模型項目/表示的模型元素沒有名稱。

實作

ICustomTypeDescriptor.GetComponentName()

.NET Framework 安全性

請參閱

參考

PresentationElementTypeDescriptor 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間