Share via


TestSpecList.GetEvents 方法 (array<Attribute[])

取得包含事件與這些測試並符合指定的屬性 EventDescriptorCollection 物件。

命名空間:  Microsoft.TeamFoundation.Build.Workflow.Activities
組件:  Microsoft.TeamFoundation.Build.Workflow (在 Microsoft.TeamFoundation.Build.Workflow.dll 中)

語法

'宣告
Public Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
public EventDescriptorCollection GetEvents(
    Attribute[] attributes
)

參數

傳回值

型別:System.ComponentModel.EventDescriptorCollection
包含事件的 EventDescriptorCollection 物件與這些測試並符合指定的屬性。

實作

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework 安全性

請參閱

參考

TestSpecList 類別

GetEvents 多載

Microsoft.TeamFoundation.Build.Workflow.Activities 命名空間