TypeInfo.GetDeclaredMethod(String) 메서드

정의

현재 형식으로 선언된 지정된 메서드를 나타내는 개체를 반환합니다.

public:
 virtual System::Reflection::MethodInfo ^ GetDeclaredMethod(System::String ^ name);
public virtual System.Reflection.MethodInfo GetDeclaredMethod (string name);
public virtual System.Reflection.MethodInfo? GetDeclaredMethod (string name);
abstract member GetDeclaredMethod : string -> System.Reflection.MethodInfo
override this.GetDeclaredMethod : string -> System.Reflection.MethodInfo
Public Overridable Function GetDeclaredMethod (name As String) As MethodInfo

매개 변수

name
String

메서드의 이름입니다.

반환

MethodInfo

해당 항목이 있으면 지정된 메서드를 나타내는 개체이며, 그렇지 않으면 null입니다.

예외

name이(가) null인 경우

적용 대상