Partager via


DataViewBrowseObject.GetEvents, méthode (array<Attribute )

Extrait une collection d' EventDescriptorCollection d'événements qui correspondent aux attributs spécifiés pour la actuelle parcourent l'objet.

Espace de noms :  Microsoft.VisualStudio.Data.Framework
Assembly :  Microsoft.VisualStudio.Data.Framework (dans Microsoft.VisualStudio.Data.Framework.dll)

Syntaxe

'Déclaration
Public Overridable Function GetEvents ( _
    attributes As Attribute() _
) As EventDescriptorCollection
public virtual EventDescriptorCollection GetEvents(
    Attribute[] attributes
)
public:
virtual EventDescriptorCollection^ GetEvents(
    array<Attribute^>^ attributes
)
abstract GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
override GetEvents : 
        attributes:Attribute[] -> EventDescriptorCollection 
public function GetEvents(
    attributes : Attribute[]
) : EventDescriptorCollection

Paramètres

  • attributes
    Type : array<System.Attribute[]
    Un tableau d' Attribute des objets en tant que filtre pour les événements au retour.

Valeur de retour

Type : System.ComponentModel.EventDescriptorCollection
Retourne une collection d' EventDescriptorCollection contenant les événements qui correspondent aux attributs spécifiés pour la actuelle parcourent l'objet.

Implémentations

ICustomTypeDescriptor.GetEvents(array<Attribute[])

Sécurité .NET Framework

Voir aussi

Référence

DataViewBrowseObject Classe

GetEvents, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms

GetEvents