Delegate.GetMethodImpl Delegate.GetMethodImpl Delegate.GetMethodImpl Delegate.GetMethodImpl Method

Definition

Gets the static method represented by the current delegate.

protected:
 virtual System::Reflection::MethodInfo ^ GetMethodImpl();
protected virtual System.Reflection.MethodInfo GetMethodImpl ();
abstract member GetMethodImpl : unit -> System.Reflection.MethodInfo
override this.GetMethodImpl : unit -> System.Reflection.MethodInfo
Protected Overridable Function GetMethodImpl () As MethodInfo

Returns

A MethodInfo describing the static method represented by the current delegate.

Exceptions

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

Remarks

This method applies only if the current delegate represents a static method.

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