EventInfoExtensions.GetAddMethod 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetAddMethod(EventInfo) | |
GetAddMethod(EventInfo, Boolean) |
GetAddMethod(EventInfo)
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)
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