TypeInfo.GetMethods 方法

定义

重载

GetMethods()

C#
public System.Reflection.MethodInfo[] GetMethods();

返回

适用于

.NET Core 1.1 和其他版本
产品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetMethods(BindingFlags)

C#
public virtual System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingAttr);

参数

bindingAttr
BindingFlags

返回

适用于

.NET Core 1.1 和其他版本
产品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6