MemberInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Metoda

Definice

Určuje, zda je u tohoto člena attributeType definována jedna nebo více instancí.

 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

Parametry

attributeType
Type

Typ vlastních atributů.

inherit
Boolean

Když true, vyhledejte řetězec hierarchie pro zděděný vlastní atribut.

Návraty

true pokud je definován na attributeType tomto členu; false v opačném případě.

Implementuje

Platí pro