共用方式為


GetModelElementDisplayNameEventHandler 委派

回撥,可讓您定義顯示在 [模型總管] 中的項目名稱。

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

語法

'宣告
Public Delegate Function GetModelElementDisplayNameEventHandler ( _
    modelElement As ModelElement _
) As String
public delegate string GetModelElementDisplayNameEventHandler(
    ModelElement modelElement
)

參數

傳回值

型別:System.String

請參閱

參考

Microsoft.VisualStudio.Modeling.Shell 命名空間