MemberInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Metodo

Definizione

Indica se per questo membro sono definite 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 della gerarchia dell'attributo personalizzato ereditato.

Restituisce

true se attributeType è definito per questo membro; in caso contrario, false.

Implementazioni

Si applica a