共用方式為


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetEvents 方法 (array<Attribute[])

使用指定的屬性陣列做為篩選條件,以傳回這個元件執行個體的事件。

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

語法

'宣告
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)

參數

  • attributes
    類型:array<System.Attribute[]
    System.Attribute 型別的陣列,可用來當做篩選條件。

傳回值

類型:System.ComponentModel.EventDescriptorCollection
父圖案的已篩選事件。

實作

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework 安全性

請參閱

參考

MoveableDecoratorHostShape 類別

GetEvents 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間