ModuleBuilder.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

하나 이상의 attributeType 인스턴스가 이 모듈에 적용되었으면 true이고, 그렇지 않으면 false입니다.

예외

attributeType이(가) null인 경우

attributeType이 런타임에 제공되는 Type 개체가 아닌 경우. 예를 들어 attributeTypeTypeBuilder 개체인 경우입니다.

적용 대상