Assembly.ICustomAttributeProvider.IsDefined(Type, Boolean) Metodo

Definizione

Indica se in questo membro è definita una o più istanze di attributeType .

 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

Parametri

attributeType
Type

Tipo degli attributi personalizzati.

inherit
Boolean

Quando true, cercare la catena di gerarchie per l'attributo personalizzato ereditato.

Valori restituiti

true se l'oggetto attributeType è definito in questo membro; false in caso contrario, .

Implementazioni

Si applica a