TypeDelegator.GetEvents Método

Definición

Devuelve una matriz de objetos EventInfo que representa a los eventos públicos declarados o heredados por el TypeDelegator actual.

Sobrecargas

GetEvents(BindingFlags)

Devuelve todos los eventos especificados en bindingAttr que son declarados o heredados por el objeto TypeDelegator actual.

GetEvents()

Devuelve una matriz de objetos EventInfo que representa a los eventos públicos declarados o heredados por el TypeDelegator actual.

GetEvents(BindingFlags)

Source:
TypeDelegator.cs
Source:
TypeDelegator.cs
Source:
TypeDelegator.cs

Devuelve todos los eventos especificados en bindingAttr que son declarados o heredados por el objeto TypeDelegator actual.

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()

Parámetros

bindingAttr
BindingFlags

Máscara de bits que afecta al modo de realizar la búsqueda. El valor es una combinación de cero o más marcas de bits de BindingFlags.

Devoluciones

Matriz de tipo EventInfo que contiene los eventos especificados en bindingAttr. Si no existe ningún evento, se devolverá una matriz vacía.

Se aplica a

GetEvents()

Source:
TypeDelegator.cs
Source:
TypeDelegator.cs
Source:
TypeDelegator.cs

Devuelve una matriz de objetos EventInfo que representa a los eventos públicos declarados o heredados por el TypeDelegator actual.

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()

Devoluciones

Matriz que contiene todos los eventos declarados o heredados por el tipo actual. Si no existe ningún evento, se devolverá una matriz vacía.

Se aplica a