Module.ICustomAttributeProvider.IsDefined(Type, Boolean) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
true
Pokud attributeType
je definován pro tohoto člena, false
jinak.