Export (0) Print
Expand All

Delegate.GetMethodImpl Method

Gets the static method represented by the current delegate.

[Visual Basic]
Protected Overridable Function GetMethodImpl() As MethodInfo
[C#]
protected virtual MethodInfo GetMethodImpl();
[C++]
protected: virtual MethodInfo* GetMethodImpl();
[JScript]
protected function GetMethodImpl() : MethodInfo;

Return Value

A MethodInfo describing the static method represented by the current 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).

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

Delegate Class | Delegate Members | System Namespace | MethodInfo | Method

Show:
© 2015 Microsoft