ICustomAttributeProvider.IsDefined(Type, Boolean) Metodo

Definizione

Indica se per questo membro sono definite una o più istanze di attributeType.

public:
 bool IsDefined(Type ^ attributeType, bool inherit);
public bool IsDefined (Type attributeType, bool inherit);
abstract member IsDefined : Type * bool -> bool
Public Function IsDefined (attributeType As Type, inherit As Boolean) As Boolean

Parametri

attributeType
Type

Tipo degli attributi personalizzati.

inherit
Boolean

Quando true, cercare la catena della gerarchia dell'attributo personalizzato ereditato.

Restituisce

Boolean

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

Si applica a