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
'Declaración
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
- 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.