MethodBase.IsGenericMethodDefinition 속성

정의

메서드가 제네릭 메서드 정의인지 여부를 나타내는 값을 가져옵니다.

public:
 virtual property bool IsGenericMethodDefinition { bool get(); };
public virtual bool IsGenericMethodDefinition { get; }
member this.IsGenericMethodDefinition : bool
Public Overridable ReadOnly Property IsGenericMethodDefinition As Boolean

속성 값

Boolean

현재true 개체가 제네릭 메서드 정의를 나타내면 MethodBase 이고, 그렇지 않으면 false입니다.

설명

현재 MethodBase 가 제네릭 메서드 정의를 나타내는 경우 다음을 수행합니다.

참고

제네릭은 기본적으로 지원되지 않습니다. 이 속성은 파생 클래스에서 재정의되지 않은 경우 반환 false 됩니다. 제네릭 생성자는 .NET Framework 버전 2.0에서 지원되지 않으므로 현재 인스턴스가 형식ConstructorInfo이면 이 속성이 반환 false 됩니다.

제네릭 메서드와 관련된 용어에 대한 고정 조건 목록은 속성을 참조 IsGenericMethod 하세요. 제네릭 리플렉션에 사용되는 다른 용어에 대한 고정 조건 목록은 속성을 참조 Type.IsGenericType 하세요.

적용 대상

추가 정보