共用方式為


TypeExtensions.GetMethods 方法

定義

多載

GetMethods(Type)
GetMethods(Type, BindingFlags)

GetMethods(Type)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
public:
 static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type);
public static System.Reflection.MethodInfo[] GetMethods (Type type);
static member GetMethods : Type -> System.Reflection.MethodInfo[]
Public Shared Function GetMethods (type As Type) As MethodInfo()

參數

type
Type

傳回

適用於

GetMethods(Type, BindingFlags)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
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[]
<Extension()>
Public Function GetMethods (type As Type, bindingAttr As BindingFlags) As MethodInfo()

參數

type
Type
bindingAttr
BindingFlags

傳回

適用於