ICustomAttributeProvider.IsDefined(Type, Boolean) 메서드

정의

하나 이상의 attributeType 인스턴스가 이 멤버에 대해 정의되는지 여부를 나타냅니다.

public:
 bool IsDefined(Type ^ attributeType, bool inherit);
public bool IsDefined (Type attributeType, bool inherit);
abstract member IsDefined : Type * bool -> bool
Public Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

매개 변수

attributeType
Type

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

inherit
Boolean

true이면 상속된 사용자 지정 특성에 대한 계층 구조 체인을 조회합니다.

반환

Boolean

attributeType이 이 멤버에 정의되면 true이고, 그렇지 않으면 false입니다.

적용 대상