_MethodBase.IsDefined(Type, Boolean) 메서드

정의

COM 개체에 메서드에 대한 버전 독립적 액세스를 IsDefined(Type, Boolean) 제공합니다.

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

반품

매개 변수의 인스턴스가 하나 이상 이 멤버에 적용되면 이고, 그렇지 않으면 .

설명

이 메서드는 관리되지 않는 코드에서 관리되는 클래스에 액세스하기 위한 것이며 관리 코드에서 호출해서는 안 됩니다.

멤버는 IsDefined 매개 변수의 인스턴스가 하나 이상 이 멤버에 attributeType 적용되는지 여부를 나타냅니다.

적용 대상