GenericTypeParameterBuilder.DeclaringMethod 속성

정의

현재 MethodInfo가 제네릭 메서드의 형식 매개 변수를 나타내는 경우 선언 메서드를 나타내는 GenericTypeParameterBuilder를 가져옵니다.

public:
 virtual property System::Reflection::MethodBase ^ DeclaringMethod { System::Reflection::MethodBase ^ get(); };
public override System.Reflection.MethodBase? DeclaringMethod { get; }
public override System.Reflection.MethodBase DeclaringMethod { get; }
member this.DeclaringMethod : System.Reflection.MethodBase
Public Overrides ReadOnly Property DeclaringMethod As MethodBase

속성 값

현재 MethodInfo 가 제네릭 메서드의 형식 매개 변수를 나타내는 경우 선언 메서드를 나타내는 GenericTypeParameterBuilder 이고, 그러지 않은 경우 null입니다.

설명

속성이 이 DeclaringMethod 아닌 null경우 선언 메서드는 제네릭 메서드 정의이고 DeclaringMethod.IsGenericMethodDefinition 는 입니다 true.

적용 대상