Assembly.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.

 virtual bool System.Reflection.ICustomAttributeProvider.IsDefined(Type ^ attributeType, bool inherit) = System::Reflection::ICustomAttributeProvider::IsDefined;
bool ICustomAttributeProvider.IsDefined (Type attributeType, bool inherit);
abstract member System.Reflection.ICustomAttributeProvider.IsDefined : Type * bool -> bool
override this.System.Reflection.ICustomAttributeProvider.IsDefined : Type * bool -> bool
Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean Implements ICustomAttributeProvider.IsDefined

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

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

Uygulamalar

Şunlara uygulanır