TypeInfo.GetDeclaredMethods(String) メソッド

定義

指定した名前に一致する現在の型で宣言されているすべてのメソッドを含むコレクションを返します。

public:
 virtual System::Collections::Generic::IEnumerable<System::Reflection::MethodInfo ^> ^ GetDeclaredMethods(System::String ^ name);
public virtual System.Collections.Generic.IEnumerable<System.Reflection.MethodInfo> GetDeclaredMethods (string name);
abstract member GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
override this.GetDeclaredMethods : string -> seq<System.Reflection.MethodInfo>
Public Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)
Public Iterator Overridable Function GetDeclaredMethods (name As String) As IEnumerable(Of MethodInfo)

パラメーター

name
String

検索するメソッドの名前。

戻り値

IEnumerable<MethodInfo>

name と一致するメソッドを含むコレクション。

例外

namenullです。

適用対象