ICustomAttributeProvider.IsDefined(Type, Boolean) Yöntem

Tanım

Bir veya daha fazla örneğinin bu üyede tanımlanıp tanımlanmadığını attributeType gösterir.

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

Parametreler

attributeType
Type

Özel özniteliklerin türü.

inherit
Boolean

olduğunda true, devralınan özel özniteliğin hiyerarşi zincirini arayın.

Döndürülenler

Boolean

trueattributeType bu üyede tanımlanmışsa; false aksi takdirde.

Şunlara uygulanır