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

이 형식의 개체에 대해서는 이 인수가 무시됩니다.

반품

하나 이상의 인스턴스가 이 모듈에 적용되었으면 />이고, 그렇지 않으면 .

예외

attributeTypenull입니다.

attributeType 가 런타임에서 Type 제공하는 개체가 아닙니다. 예를 들어 attributeType 개체입니다 TypeBuilder .

적용 대상