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과 일치하는 메서드를 포함하는 컬렉션입니다.

예외

name이(가) null인 경우

적용 대상