Method Property
Collapse the table of content
Expand the table of content

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)

'Declaration
Public ReadOnly Property Method As MethodInfo

Property Value

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

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft