MoveableDecoratorHostShape.ICustomTypeDescriptor.GetEvents – metoda (array<Attribute )
Vrátí události pro tuto instanci komponenty zadaný atribut pole jako filtr.
Obor názvů: Microsoft.VisualStudio.Modeling.Diagrams
Sestavení: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (v Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntaxe
'Deklarace
Private Function GetEvents ( _
attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
Attribute[] attributes
)
Parametry
- attributes
Typ: array<System.Attribute[]
Pole typ typu System.Attribute, který slouží jako filtr.
Vrácená hodnota
Typ: System.ComponentModel.EventDescriptorCollection
Události filtrované nadřazeného obrazce.
Implementuje
ICustomTypeDescriptor.GetEvents(array<Attribute[])
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.