TypeExtensions.GetEvent 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| Name | Description |
|---|---|
| GetEvent(Type, String) | |
| GetEvent(Type, String, BindingFlags) |
GetEvent(Type, String)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::EventInfo ^ GetEvent(Type ^ type, System::String ^ name);
public static System.Reflection.EventInfo GetEvent(this Type type, string name);
public static System.Reflection.EventInfo? GetEvent(this Type type, string name);
static member GetEvent : Type * string -> System.Reflection.EventInfo
<Extension()>
Public Function GetEvent (type As Type, name As String) As EventInfo
매개 변수
- type
- Type
- name
- String
반환
적용 대상
GetEvent(Type, String, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::EventInfo ^ GetEvent(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.EventInfo GetEvent(this Type type, string name, System.Reflection.BindingFlags bindingAttr);
public static System.Reflection.EventInfo? GetEvent(this Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetEvent : Type * string * System.Reflection.BindingFlags -> System.Reflection.EventInfo
<Extension()>
Public Function GetEvent (type As Type, name As String, bindingAttr As BindingFlags) As EventInfo
매개 변수
- type
- Type
- name
- String
- bindingAttr
- BindingFlags