TypeDelegator.GetEvents Método

Definición

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

Sobrecargas

Nombre Description
GetEvents(BindingFlags)

Devuelve los eventos especificados en bindingAttr que el objeto actual TypeDelegatordeclara o hereda .

GetEvents()

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

GetEvents(BindingFlags)

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

Devuelve los eventos especificados en bindingAttr que el objeto actual TypeDelegatordeclara o hereda .

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents(System::Reflection::BindingFlags bindingAttr);
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)]
public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr);
public override System.Reflection.EventInfo[] GetEvents(System.Reflection.BindingFlags bindingAttr);
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.NonPublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)>]
override this.GetEvents : System.Reflection.BindingFlags -> System.Reflection.EventInfo[]
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 a la forma en que se realiza 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 hay ningún evento, se devuelve una matriz vacía.

Atributos

Se aplica a

GetEvents()

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

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

public:
 override cli::array <System::Reflection::EventInfo ^> ^ GetEvents();
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)]
public override System.Reflection.EventInfo[] GetEvents();
public override System.Reflection.EventInfo[] GetEvents();
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents)>]
override this.GetEvents : unit -> System.Reflection.EventInfo[]
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 hay ningún evento, se devuelve una matriz vacía.

Atributos

Se aplica a