TypeDelegator.GetEvents Méthode

Définition

Retourne un tableau d’objets EventInfo représentant tous les événements publics déclarés ou hérités par le paramètre actif TypeDelegator.

Surcharges

Nom Description
GetEvents()

Retourne un tableau d’objets EventInfo représentant tous les événements publics déclarés ou hérités par le paramètre actif TypeDelegator.

GetEvents(BindingFlags)

Retourne les événements spécifiés dans ce qui bindingAttr sont déclarés ou hérités par le paramètre actif TypeDelegator.

GetEvents()

Retourne un tableau d’objets EventInfo représentant tous les événements publics déclarés ou hérités par le paramètre actif TypeDelegator.

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents();
public override System.Reflection.EventInfo[] GetEvents();
override this.GetEvents : unit -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents () As EventInfo()

Retours

Tableau qui contient tous les événements déclarés ou hérités par le type actuel. S’il n’existe aucun événement, un tableau vide est retourné.

S’applique à

GetEvents(BindingFlags)

Retourne les événements spécifiés dans ce qui bindingAttr sont déclarés ou hérités par le paramètre actif TypeDelegator.

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents(System::Reflection::BindingFlags bindingAttr);
public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr);
override this.GetEvents : System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
Public Overrides Function GetEvents (bindingAttr As BindingFlags) As EventInfo()

Paramètres

bindingAttr
BindingFlags

Masque de bits qui affecte la façon dont la recherche est effectuée. La valeur est une combinaison de zéro ou plus d’indicateurs de bits de BindingFlags.

Retours

Tableau de type EventInfo contenant les événements spécifiés dans bindingAttr. S’il n’existe aucun événement, un tableau vide est retourné.

S’applique à