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