## TypeInfo::GetCustomAttributes() const method


Возвращает массив, содержащий объекты, представляющие все пользовательские атрибуты, применённые к типу.

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

## См. также

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


Возвращает массив, содержащий объекты, представляющие конкретные атрибуты, применённые к типу.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| attributeType | const TypeInfo\& | Тип атрибута для поиска. |
| inherit | bool | Нужно ли также искать унаследованные атрибуты. |

## См. также

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