RuntimeReflectionExtensions.GetRuntimeMethod(Type, String, Type[]) 메서드

정의

지정된 메서드를 나타내는 개체를 검색합니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::MethodInfo ^ GetRuntimeMethod(Type ^ type, System::String ^ name, cli::array <Type ^> ^ parameters);
public static System.Reflection.MethodInfo GetRuntimeMethod(this Type type, string name, Type[] parameters);
public static System.Reflection.MethodInfo? GetRuntimeMethod(this Type type, string name, Type[] parameters);
static member GetRuntimeMethod : Type * string * Type[] -> System.Reflection.MethodInfo
<Extension()>
Public Function GetRuntimeMethod (type As Type, name As String, parameters As Type()) As MethodInfo

매개 변수

type
Type

메서드를 포함하는 형식입니다.

name
String

메서드의 이름입니다.

parameters
Type[]

메서드의 매개 변수를 포함하는 배열입니다.

반품

지정된 메서드를 나타내는 개체이거나 null 메서드를 찾을 수 없는 경우입니다.

예외

typenull입니다.

-또는-

namenull입니다.

지정된 이름을 사용하여 두 개 이상의 메서드를 찾습니다.

적용 대상

추가 정보