Edit

Share via


EventInfo.RemoveMethod Property

Definition

Gets the MethodInfo object for removing a method of the event, including non-public methods.

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

Property Value

The MethodInfo object for removing a method of the event.

Remarks

This property is the equivalent of calling the GetRemoveMethod with a value of true.

Applies to