IReflect.GetMethods(BindingFlags) メソッド

定義

すべてのパブリック メソッドまたは現在のクラスのすべてのメソッドを持つ MethodInfo オブジェクトの配列を取得します。

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

パラメーター

bindingAttr
BindingFlags

検索を制御するために使用されるバインド属性。

返品

bindingAttrで指定された検索制約を満たす、このリフレクション オブジェクトに対して定義されているすべてのメソッドを含むMethodInfo オブジェクトの配列。

注釈

bindingAttrの非パブリック属性は、パブリック メソッドが返された場合にのみ示されます。

適用対象

こちらもご覧ください