共用方式為


LocalizableProperties.GetEvents Method (array<Attribute[])

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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
public EventDescriptorCollection GetEvents(
    Attribute[] attributes
)

Parameters

Return Value

Type: System.ComponentModel.EventDescriptorCollection
An EventDescriptorCollection with the events that match the specified attributes for this component.

Implements

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Remarks

Delegates to GetEvents.

.NET Framework Security

See Also

Reference

LocalizableProperties Class

GetEvents Overload

Microsoft.VisualStudio.Shell Namespace