## 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.PDF 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 | Typ | Beskrivning |
| --- | --- | --- |
| attributeType | const TypeInfo\& | Typ av attribut att leta efter. |
| inherit | bool | Om ärvda attribut också ska sökas. |

## Se även

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