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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.