EventInfoExtensions.GetAddMethod 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetAddMethod(EventInfo) | |
GetAddMethod(EventInfo, Boolean) |
GetAddMethod(EventInfo)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetAddMethod(System::Reflection::EventInfo ^ eventInfo);
public static System.Reflection.MethodInfo GetAddMethod (this System.Reflection.EventInfo eventInfo);
public static System.Reflection.MethodInfo? GetAddMethod (this System.Reflection.EventInfo eventInfo);
static member GetAddMethod : System.Reflection.EventInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetAddMethod (eventInfo As EventInfo) As MethodInfo
参数
- eventInfo
- EventInfo
返回
适用于
GetAddMethod(EventInfo, Boolean)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetAddMethod(System::Reflection::EventInfo ^ eventInfo, bool nonPublic);
public static System.Reflection.MethodInfo GetAddMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);
public static System.Reflection.MethodInfo? GetAddMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);
static member GetAddMethod : System.Reflection.EventInfo * bool -> System.Reflection.MethodInfo
<Extension()>
Public Function GetAddMethod (eventInfo As EventInfo, nonPublic As Boolean) As MethodInfo
参数
- eventInfo
- EventInfo
- nonPublic
- Boolean