다음을 통해 공유


ControllerDescriptor.IsDefined(Type, Boolean) 메서드

정의

이 멤버에 대해 지정된 사용자 지정 특성의 인스턴스가 하나 이상 정의되어 있는지를 나타내는 값을 검색합니다.

public virtual bool IsDefined(Type attributeType, bool inherit);
abstract member IsDefined : Type * bool -> bool
override this.IsDefined : Type * bool -> bool
Public Overridable Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

매개 변수

attributeType
Type

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

inherit
Boolean

true이면 상속된 사용자 지정 특성에 대한 계층 체인을 조회합니다. 그렇지 않으면 false입니다.

반환

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

구현

예외

매개 변수가 attributeType null(Visual Basic의 경우 Nothing)입니다.

적용 대상