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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace