Bewerken

Share via


Delegate.Method Property

Definition

Gets the method represented by the delegate.

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

Property Value

A MethodInfo describing the method represented by the delegate.

Exceptions

The caller does not have access to the method represented by the delegate (for example, if the method is private).

Applies to

See also