ParameterInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Metodo
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
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
- attributeType
- Type
Tipo degli attributi personalizzati.
- inherit
- Boolean
Quando true
, cercare la catena della gerarchia dell'attributo personalizzato ereditato.
true
se attributeType
è definito per questo membro; in caso contrario, false
.
Prodotto | Versioni |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
Feedback su .NET
.NET è un progetto open source. Seleziona un collegamento per fornire feedback: