Freigeben über


TestSpecList.GetEvents Method (array<Attribute )

Gets an EventDescriptorCollection object containing the events associated with these tests and matching the specified attributes.

Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)

Syntax

'Declaration
Public Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
public EventDescriptorCollection GetEvents(
    Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed
abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
public final function GetEvents(
    attributes : Attribute[]
) : EventDescriptorCollection

Parameters

  • attributes
    Type: array<System.Attribute[]
    An array of attributes to match the events to.

Return Value

Type: System.ComponentModel.EventDescriptorCollection
An EventDescriptorCollection object containing the events associated with these tests and matching the specified attributes.

Implements

ICustomTypeDescriptor.GetEvents(array<Attribute[])

.NET Framework Security

See Also

Reference

TestSpecList Class

GetEvents Overload

Microsoft.TeamFoundation.Build.Workflow.Activities Namespace