Edit

Share via


TypeInfo.GetMethod Method

Definition

Overloads

GetMethod(String)

public System.Reflection.MethodInfo GetMethod(string name);

Parameters

name
String

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetMethod(String, BindingFlags)

public System.Reflection.MethodInfo GetMethod(string name, System.Reflection.BindingFlags bindingAttr);

Parameters

name
String
bindingAttr
BindingFlags

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetMethod(String, Type[])

public System.Reflection.MethodInfo GetMethod(string name, Type[] types);

Parameters

name
String
types
Type[]

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetMethod(String, Type[], ParameterModifier[])

public System.Reflection.MethodInfo GetMethod(string name, Type[] types, System.Reflection.ParameterModifier[] modifiers);

Parameters

name
String
types
Type[]
modifiers
ParameterModifier[]

Returns

Applies to

.NET Core 1.1 and other versions
Product Versions
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6