Type.GetMethod Method

July 28, 2014

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.

  NameDescription
Public method GetMethod(String) Searches for the public method with the specified name.
Public method GetMethod(String, BindingFlags) Searches for the specified method, using the specified binding constraints.
Public method GetMethod(String, Type[]) Searches for the specified public method whose parameters match the specified argument types.
Public method GetMethod(String, Type[], ParameterModifier[]) Searches for the specified public method whose parameters match the specified argument types and modifiers.
Public method GetMethod(String, BindingFlags, Binder, Type[], ParameterModifier[]) Searches for the specified method whose parameters match the specified argument types and modifiers, using the specified binding constraints.
Public method GetMethod(String, BindingFlags, Binder, CallingConventions, Type[], 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

Show:
© 2014 Microsoft