_MemberInfo.IsDefined(Type, Boolean) 메서드

정의

버전에 관계없이 IsDefined(Type, Boolean) 메서드에 액세스할 수 있는 COM 개체를 제공합니다.

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

사용자 지정 특성이 적용되는 Type 개체입니다.

inherit
Boolean

이 멤버의 상속 체인을 검색하여 특성을 찾으려면 true이고 그렇지 않으면 false입니다.

반환

Boolean

이 멤버에 attributeType 매개 변수 인스턴스가 하나 이상 적용되었으면 true이고, 그렇지 않으면 false입니다.

설명

이 메서드는 비관리 코드에서 액세스를 위한 관리 되는 클래스에는 하며 관리 코드에서 호출할 수 없습니다.

합니다 IsDefined 메서드를 나타냅니다 여부를 하나 이상의 인스턴스를 attributeType 매개 변수는이 멤버에 적용 됩니다.

적용 대상