TypeExtensions.GetMethods 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetMethods(Type) | |
GetMethods(Type, BindingFlags) |
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[]
<Extension()>
Public Function GetMethods (type As Type) As MethodInfo()
參數
- type
- Type
傳回
適用於
GetMethods(Type, BindingFlags)
public:
static cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.MethodInfo[] GetMethods (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMethods : Type * System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Shared Function GetMethods (type As Type, bindingAttr As BindingFlags) As MethodInfo()
參數
- type
- Type
- bindingAttr
- BindingFlags