EventInfo.RemoveMethod 属性

定义

获取用于删除事件方法的 MethodInfo 对象,包括非公共方法。

public:
 virtual property System::Reflection::MethodInfo ^ RemoveMethod { System::Reflection::MethodInfo ^ get(); };
public virtual System.Reflection.MethodInfo RemoveMethod { get; }
public virtual System.Reflection.MethodInfo? RemoveMethod { get; }
member this.RemoveMethod : System.Reflection.MethodInfo
Public Overridable ReadOnly Property RemoveMethod As MethodInfo

属性值

MethodInfo

用于移除该事件方法的 MethodInfo 对象。

注解

此属性等效于调用 GetRemoveMethod 值为 true.

适用于