言語

TypeDelegator.GetEvents メソッド

定義

現在のEventInfoによって宣言または継承されたすべてのパブリック イベントを表すTypeDelegator オブジェクトの配列を返します。

オーバーロード

名前 説明
GetEvents(BindingFlags)

現在のbindingAttrによって宣言または継承TypeDelegatorで指定されたイベントを返します。

GetEvents()

現在のEventInfoによって宣言または継承されたすべてのパブリック イベントを表すTypeDelegator オブジェクトの配列を返します。

GetEvents(BindingFlags)

ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs

現在のbindingAttrによって宣言または継承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()

パラメーター

bindingAttr
BindingFlags

検索の実行方法に影響を与えるビットマスク。 値は、 BindingFlagsからの 0 個以上のビット フラグの組み合わせです。

返品

EventInfoで指定されたイベントを含むbindingAttr型の配列。 イベントがない場合は、空の配列が返されます。

属性

適用対象

GetEvents()

ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs
ソース:
TypeDelegator.cs

現在のEventInfoによって宣言または継承されたすべてのパブリック イベントを表す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()

返品

現在の型によって宣言または継承されたすべてのイベントを含む配列。 イベントがない場合は、空の配列が返されます。

属性

適用対象