TypeInfo.GetDeclaredMethod(String) 메서드

정의

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

public:
 virtual System::Reflection::MethodInfo ^ GetDeclaredMethod(System::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

메서드의 이름입니다.

반품

지정된 메서드를 나타내는 개체입니다(있는 경우). 그렇지 않으면 . null

예외

namenull입니다.

적용 대상