Delegate.Method Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the method represented by the delegate.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public ReadOnly Property Method As MethodInfo
public MethodInfo Method { get; }

Property Value

Type: System.Reflection..::.MethodInfo
A MethodInfo describing the method represented by the delegate.

Exceptions

Exception Condition
MemberAccessException

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

MethodAccessException

Application code attempts to access this member late-bound, for example, by using the Type..::.InvokeMember method.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

Delegate Class

System Namespace

MethodInfo