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
ParameterTypeBeskrivning
attributeTypeconst TypeInfo&Typ av attribut att söka efter.
inheritboolOm ärvt attribut också ska sökas efter.

Se även