TypeDelegator.GetEvents Método

Definição

Retorna uma matriz de EventInfo objetos que representam todos os eventos públicos declarados ou herdados pelo atual TypeDelegator.

Sobrecargas

Nome Description
GetEvents(BindingFlags)

Retorna os eventos especificados em bindingAttr que são declarados ou herdados pelo atual TypeDelegator.

GetEvents()

Retorna uma matriz de EventInfo objetos que representam todos os eventos públicos declarados ou herdados pelo atual TypeDelegator.

GetEvents(BindingFlags)

Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs

Retorna os eventos especificados em bindingAttr que são declarados ou herdados pelo atual TypeDelegator.

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

Uma máscara de bits que afeta a maneira como a pesquisa é realizada. O valor é uma combinação de zero ou mais sinalizadores de bits de BindingFlags.

Retornos

Uma matriz de tipo EventInfo que contém os eventos especificados em bindingAttr. Se não houver eventos, uma matriz vazia será retornada.

Atributos

Aplica-se a

GetEvents()

Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs
Origem:
TypeDelegator.cs

Retorna uma matriz de EventInfo objetos que representam todos os eventos públicos declarados ou herdados pelo atual 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()

Retornos

Uma matriz que contém todos os eventos declarados ou herdados pelo tipo atual. Se não houver eventos, uma matriz vazia será retornada.

Atributos

Aplica-se a