LocalizableProperties.GetEvents Method ([])

Gets a collection of the events that satisfy the attribute filter.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

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

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

Parameters

  • attributes
    Type: []

    An array of attributes to be used a filter.

Return Value

Type: System.ComponentModel.EventDescriptorCollection

EventDescriptorCollection.

Implements

ICustomTypeDescriptor.GetEvents([])

Remarks

This method calls GetEvents.

Permissions

See Also

Reference

LocalizableProperties Class

LocalizableProperties Members

GetEvents Overload

Microsoft.VisualStudio.Package Namespace