共用方式為


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetDefaultEvent 方法

傳回這個元件執行個體的預設事件。

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

語法

'宣告
Private Function GetDefaultEvent As EventDescriptor
    Implements ICustomTypeDescriptor.GetDefaultEvent
EventDescriptor ICustomTypeDescriptor.GetDefaultEvent()

傳回值

類型:System.ComponentModel.EventDescriptor
父圖案的預設事件。

實作

ICustomTypeDescriptor.GetDefaultEvent()

.NET Framework 安全性

請參閱

參考

MoveableDecoratorHostShape 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間