TypeInfo.GetMethod Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetMethod(String) | |
| GetMethod(String, BindingFlags) | |
| GetMethod(String, Type[]) | |
| GetMethod(String, Type[], ParameterModifier[]) | 
GetMethod(String)
public:
 System::Reflection::MethodInfo ^ GetMethod(System::String ^ name);public System.Reflection.MethodInfo GetMethod(string name);member this.GetMethod : string -> System.Reflection.MethodInfoPublic Function GetMethod (name As String) As MethodInfoParameters
- name
- String
Returns
Applies to
GetMethod(String, BindingFlags)
public:
 System::Reflection::MethodInfo ^ GetMethod(System::String ^ name, System::Reflection::BindingFlags bindingAttr);public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr);member this.GetMethod : string * System.Reflection.BindingFlags -> System.Reflection.MethodInfoPublic Function GetMethod (name As String, bindingAttr As BindingFlags) As MethodInfoParameters
- name
- String
- bindingAttr
- BindingFlags
Returns
Applies to
GetMethod(String, Type[])
public:
 System::Reflection::MethodInfo ^ GetMethod(System::String ^ name, cli::array <Type ^> ^ types);public System.Reflection.MethodInfo GetMethod(string name, Type[] types);member this.GetMethod : string * Type[] -> System.Reflection.MethodInfoPublic Function GetMethod (name As String, types As Type()) As MethodInfoParameters
- name
- String
- types
- Type[]
Returns
Applies to
GetMethod(String, Type[], ParameterModifier[])
public:
 System::Reflection::MethodInfo ^ GetMethod(System::String ^ name, cli::array <Type ^> ^ types, cli::array <System::Reflection::ParameterModifier> ^ modifiers);public System.Reflection.MethodInfo GetMethod(string name, Type[] types, System.Reflection.ParameterModifier[] modifiers);member this.GetMethod : string * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.MethodInfoPublic Function GetMethod (name As String, types As Type(), modifiers As ParameterModifier()) As MethodInfoParameters
- name
- String
- types
- Type[]
- modifiers
- ParameterModifier[]