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

Extrait une collection d'EventDescriptorCollection d'événements qui correspondent aux attributs spécifiés pour la valeur 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<Attribute[]

    Tableau d'objets Attribute comme filtre d'événements retournent.

Valeur de retour

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

Implémentations

ICustomTypeDescriptor.GetEvents(Attribute)

Sécurité .NET Framework

Voir aussi

Référence

DataViewBrowseObject Classe

GetEvents, surcharge

Microsoft.VisualStudio.Data.Framework, espace de noms

GetEvents