LocalizableProperties.GetEvents Method ([])

Gets the collection of events for a specified component using a specified array of attributes as a filter.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'宣言
Public Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
'使用
Dim instance As LocalizableProperties
Dim attributes As Attribute()
Dim returnValue As EventDescriptorCollection

returnValue = instance.GetEvents(attributes)
public EventDescriptorCollection GetEvents(
    Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
) sealed
public final function GetEvents(
    attributes : Attribute[]
) : EventDescriptorCollection

Parameters

  • attributes
    Type: []

    An array of type Attribute to use as a filter.

Return Value

Type: System.ComponentModel.EventDescriptorCollection

An EventDescriptorCollection with the events that match the specified attributes for this component.

Implements

ICustomTypeDescriptor.GetEvents([])

Remarks

Delegates to GetEvents.

Permissions

See Also

Reference

LocalizableProperties Class

LocalizableProperties Members

GetEvents Overload

Microsoft.VisualStudio.Shell Namespace