TypeExtensions.GetMethods TypeExtensions.GetMethods TypeExtensions.GetMethods Method

定義

多載

GetMethods(Type) GetMethods(Type) GetMethods(Type)
GetMethods(Type, BindingFlags) GetMethods(Type, BindingFlags) GetMethods(Type, BindingFlags)

GetMethods(Type) GetMethods(Type) GetMethods(Type)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type);
public static System.Reflection.MethodInfo[] GetMethods (this Type type);
static member GetMethods : Type -> System.Reflection.MethodInfo[]

參數

type
Type Type Type

傳回

GetMethods(Type, BindingFlags) GetMethods(Type, BindingFlags) GetMethods(Type, BindingFlags)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MethodInfo[] GetMethods (this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMethods : Type * System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]

參數

type
Type Type Type

傳回

適用於