Module.GetMethods メソッド

定義

モジュールで定義されているグローバル メソッドを返します。

オーバーロード

名前 説明
GetMethods()

モジュールで定義されているグローバル メソッドを返します。

GetMethods(BindingFlags)

指定したバインド フラグに一致するモジュールで定義されているグローバル メソッドを返します。

GetMethods()

モジュールで定義されているグローバル メソッドを返します。

public:
 cli::array <System::Reflection::MethodInfo ^> ^ GetMethods();
public System.Reflection.MethodInfo[] GetMethods();
member this.GetMethods : unit -> System.Reflection.MethodInfo[]
Public Function GetMethods () As MethodInfo()

返品

モジュールで定義されているすべてのグローバル メソッドを表す MethodInfo オブジェクトの配列。グローバル メソッドがない場合は、空の配列が返されます。

適用対象

GetMethods(BindingFlags)

指定したバインド フラグに一致するモジュールで定義されているグローバル メソッドを返します。

public:
 cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public:
 virtual cli::array <System::Reflection::MethodInfo ^> ^ GetMethods(System::Reflection::BindingFlags bindingFlags);
public System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags);
public virtual System.Reflection.MethodInfo[] GetMethods(System.Reflection.BindingFlags bindingFlags);
member this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
abstract member GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
override this.GetMethods : System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
Public Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()
Public Overridable Function GetMethods (bindingFlags As BindingFlags) As MethodInfo()

パラメーター

bindingFlags
BindingFlags

検索を制限する BindingFlags 値のビットごとの組み合わせ。

返品

型の配列 MethodInfo 、指定したバインド フラグに一致するモジュールで定義されているグローバル メソッドを表します。バインド フラグに一致するグローバル メソッドがない場合は、空の配列が返されます。

適用対象