TypeDelegator.GetEvents 메서드

정의

현재EventInfo에서 선언하거나 상속하는 모든 공용 이벤트를 나타내는 개체의 배열 TypeDelegator 을 반환합니다.

오버로드

Name Description
GetEvents(BindingFlags)

현재bindingAttrTypeDelegator 의해 선언되거나 상속되는 지정된 이벤트를 반환합니다.

GetEvents()

현재EventInfo에서 선언하거나 상속하는 모든 공용 이벤트를 나타내는 개체의 배열 TypeDelegator 을 반환합니다.

GetEvents(BindingFlags)

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

현재bindingAttrTypeDelegator 의해 선언되거나 상속되는 지정된 이벤트를 반환합니다.

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

검색이 수행되는 방식에 영향을 주는 비트 마스크입니다. 값은 .에서 BindingFlags0개 이상의 비트 플래그 조합입니다.

반품

에 지정된 이벤트를 포함하는 형식 EventInfo 의 배열입니다 bindingAttr. 이벤트가 없으면 빈 배열이 반환됩니다.

특성

적용 대상

GetEvents()

Source:
TypeDelegator.cs
Source:
TypeDelegator.cs
Source:
TypeDelegator.cs
Source:
TypeDelegator.cs
Source:
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()

반품

현재 형식에 의해 선언되거나 상속된 모든 이벤트를 포함하는 배열입니다. 이벤트가 없으면 빈 배열이 반환됩니다.

특성

적용 대상