ConstructorBuilder.IsDefined(Type, Boolean) 메서드

정의

지정된 사용자 지정 특성 유형이 정의되었는지 확인합니다.

public:
 override bool IsDefined(Type ^ attributeType, bool inherit);
public override bool IsDefined (Type attributeType, bool inherit);
override this.IsDefined : Type * bool -> bool
Public Overrides Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

매개 변수

attributeType
Type

사용자 지정 특성 유형입니다.

inherit
Boolean

기본 클래스에서의 사용자 지정 특성 상속을 제어합니다. 이 매개 변수는 무시됩니다.

반환

Boolean

지정된 사용자 지정 특성 유형이 정의되어 있으면true 이고, 정의되어 있지 않으면 false입니다.

예외

이 메서드는 현재 지원되지 않습니다. GetConstructor(BindingFlags, Binder, CallingConventions, Type[], ParameterModifier[]) 를 사용하여 생성자를 검색하고 반환된 IsDefined(Type, Boolean) 에 대해 ConstructorInfo를 호출할 수 있습니다.

설명

형식을 지정 하는 방법에 대 한 자세한 내용은 메타 데이터 사양을 참조 하십시오 binaryAttribute .

적용 대상