Type.GetMethod Method

Include Protected Members
Include Inherited Members

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

Gets a specific method of the current Type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

Name Description
GetMethod(String) Searches for the public method with the specified name.
GetMethod(String, BindingFlags) Searches for the specified method, using the specified binding constraints.
GetMethod(String, array<Type>[]()[]) Searches for the specified public method whose parameters match the specified argument types.
GetMethod(String, array<Type>[]()[], array<ParameterModifier>[]()[]) Searches for the specified public method whose parameters match the specified argument types and modifiers.
GetMethod(String, BindingFlags, Binder, array<Type>[]()[], array<ParameterModifier>[]()[]) Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.
GetMethod(String, BindingFlags, Binder, CallingConventions, array<Type>[]()[], array<ParameterModifier>[]()[]) Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints and the specified calling convention.

Top

See Also

Reference

Type Class

Type Members

System Namespace