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
- 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, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.