Skip to main content
.NET Framework Class Library
Type..::.GetMethod Method





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
 NameDescription
Public methodGetMethod(String)Searches for the public method with the specified name.
Public methodGetMethod(String, BindingFlags)Searches for the specified method, using the specified binding constraints.
Public methodGetMethod(String, array<Type>[]()[])Searches for the specified public method whose parameters match the specified argument types.
Public methodGetMethod(String, array<Type>[]()[], array<ParameterModifier>[]()[])Searches for the specified public method whose parameters match the specified argument types and modifiers.
Public methodGetMethod(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.
Public methodGetMethod(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
Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?