EventInfoExtensions.GetRemoveMethod 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetRemoveMethod(EventInfo) | |
GetRemoveMethod(EventInfo, Boolean) |
GetRemoveMethod(EventInfo)
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetRemoveMethod(System::Reflection::EventInfo ^ eventInfo);
public static System.Reflection.MethodInfo GetRemoveMethod (this System.Reflection.EventInfo eventInfo);
public static System.Reflection.MethodInfo? GetRemoveMethod (this System.Reflection.EventInfo eventInfo);
static member GetRemoveMethod : System.Reflection.EventInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRemoveMethod (eventInfo As EventInfo) As MethodInfo
參數
- eventInfo
- EventInfo
傳回
適用於
GetRemoveMethod(EventInfo, Boolean)
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetRemoveMethod(System::Reflection::EventInfo ^ eventInfo, bool nonPublic);
public static System.Reflection.MethodInfo GetRemoveMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);
public static System.Reflection.MethodInfo? GetRemoveMethod (this System.Reflection.EventInfo eventInfo, bool nonPublic);
static member GetRemoveMethod : System.Reflection.EventInfo * bool -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRemoveMethod (eventInfo As EventInfo, nonPublic As Boolean) As MethodInfo
參數
- eventInfo
- EventInfo
- nonPublic
- Boolean