Share via


TestSpecList.GetEvents 方法

取得包含事件的 EventDescriptorCollection 物件與這些測試。

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

語法

'宣告
Public Function GetEvents As EventDescriptorCollection
public EventDescriptorCollection GetEvents()

傳回值

類型:System.ComponentModel.EventDescriptorCollection
包含事件資料的 EventDescriptorCollection 物件與這些測試。

Implements

ICustomTypeDescriptor.GetEvents()

.NET Framework 安全性

請參閱

參考

TestSpecList 類別

GetEvents 多載

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