System::TypeInfo::GetCustomAttributes metod

TypeInfo::GetCustomAttributes() const method

Returnerar en array som innehåller objekt som representerar alla anpassade attribut som tillämpats på typen.

ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes() const

Se även

TypeInfo::GetCustomAttributes(const TypeInfo&, bool) const method

Returnerar en array som innehåller objekt som representerar specifika attribut som tillämpats på typen.

ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit) const
ParameterTypBeskrivning
attributeTypeconst TypeInfo&Typ av attribut att leta efter.
inheritboolOm ärvda attribut också ska sökas.

Se även