## TypeInfo::GetCustomAttributes() const method


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

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

## Se även

* Typedef [ArrayPtr](../../arrayptr/)
* Class [SmartPtr](../../smartptr/)
* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## TypeInfo::GetCustomAttributes(const TypeInfo\&, bool) const method


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

```cpp
ArrayPtr<ObjectPtr> System::TypeInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit) const
```


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| attributeType | const TypeInfo\& | Typ av attribut att söka efter. |
| inherit | bool | Om ärvt attribut också ska sökas efter. |

## Se även

* Typedef [ArrayPtr](../../arrayptr/)
* Class [SmartPtr](../../smartptr/)
* Class [TypeInfo](../)
* Class [TypeInfo](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
