Partager via


MoveableDecoratorHostShape.ICustomTypeDescriptor.GetEvents, méthode (array<Attribute )

Retourne les événements pour cette instance d'un composant à l'aide du tableau d'attributs spécifié en tant que filtre.

Espace de noms :  Microsoft.VisualStudio.Modeling.Diagrams
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntaxe

'Déclaration
Private Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection Implements ICustomTypeDescriptor.GetEvents
EventDescriptorCollection ICustomTypeDescriptor.GetEvents(
    Attribute[] attributes
)

Paramètres

  • attributes
    Type : array<System.Attribute[]
    Un tableau de type System.Attribute qui est utilisé comme filtre.

Valeur de retour

Type : System.ComponentModel.EventDescriptorCollection
Événements filtrés de forme parente.

Implémentations

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Sécurité .NET Framework

Voir aussi

Référence

MoveableDecoratorHostShape Classe

GetEvents, surcharge

Microsoft.VisualStudio.Modeling.Diagrams, espace de noms