Module.ICustomAttributeProvider.IsDefined(Type, Boolean) Metoda

Definice

Určuje, zda attributeType je u tohoto člena 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

Při true hledání vyhledejte řetězec hierarchie pro zděděný vlastní atribut.

Návraty

Boolean

true Pokud attributeType je definován pro tohoto člena, false jinak.

Implementuje

Platí pro