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).

Security

ReflectionPermission
when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Associated enumeration: MemberAccess

Applies to

See also