ParameterInfo.ICustomAttributeProvider.IsDefined(Type, Boolean) Methode

Definitie

Hiermee wordt aangegeven of een of meer exemplaren van attributeType dit lid zijn gedefinieerd.

 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

Parameters

attributeType
Type

Het type van de aangepaste kenmerken.

inherit
Boolean

Wanneer true, zoekt u de hiƫrarchieketen op voor het overgenomen aangepaste kenmerk.

Retouren

true als de attributeType is gedefinieerd voor dit lid; false anders.

Implementeringen

Van toepassing op