Udostępnij za pośrednictwem


Metoda LocalizableProperties.GetEvents — (array<Attribute )

Pobiera zbierania zdarzeń dla określonego składnika jako filtr przy użyciu określonej tablicy atrybutów.

Przestrzeń nazw:  Microsoft.VisualStudio.Shell
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

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

Parametry

Wartość zwracana

Typ: System.ComponentModel.EventDescriptorCollection
EventDescriptorCollection Ze zdarzeniami, które odpowiadają określonym atrybutów dla tego składnika.

Implementuje

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Uwagi

Deleguje do GetEvents.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

LocalizableProperties Klasa

Przeciążenie GetEvents

Przestrzeń nazw Microsoft.VisualStudio.Shell