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 命名空间