BaseNodeProperties.GetEvents Method (array<Attribute )

Gets a collection of event descriptors associated with this properties object that match the specified attributes.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

‘선언
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.

Return Value

Type: System.ComponentModel.EventDescriptorCollection
A collection of event descriptors associated with this properties object that match the specified attributes.

Implements

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Remarks

This base implementation always returns an empty collection.

.NET Framework Security

See Also

Reference

BaseNodeProperties Class

GetEvents Overload

Microsoft.TeamFoundation.Common Namespace