Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Method Property
Collapse the table of content
Expand the table of content

Delegate.Method Property

Gets the method represented by the delegate.

[Visual Basic]
Public ReadOnly Property Method As MethodInfo
[C#]
public MethodInfo Method {get;}
[C++]
public: __property MethodInfo* get_Method();
[JScript]
public function get Method() : MethodInfo;

Property Value

A MethodInfo describing the method represented by the delegate.

Exceptions

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Common Language Infrastructure (CLI) Standard

.NET Framework Security: 

See Also

Delegate Class | Delegate Members | System Namespace | MethodInfo | GetMethodImpl

Show:
© 2015 Microsoft