## MemberInfo::GetCustomAttributes(bool) const method


Renvoie un tableau contenant des objets représentant tous les attributs personnalisés appliqués au type représenté par l'objet actuel.

```cpp
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(bool inherit=false) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| inherit | bool | Indique s'il faut également vérifier les attributs hérités. |

## Voir aussi

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [MemberInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
## MemberInfo::GetCustomAttributes(const TypeInfo\&, bool) const method


Renvoie un tableau contenant des objets représentant tous les attributs personnalisés appliqués au type représenté par l'objet actuel.

```cpp
ArrayPtr<SharedPtr<Object>> System::Reflection::MemberInfo::GetCustomAttributes(const TypeInfo &attributeType, bool inherit=false) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| attributeType | const TypeInfo\& | Type d'attribut à rechercher. |
| inherit | bool | Indique s'il faut également vérifier les attributs hérités. |

## Voir aussi

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [MemberInfo](../)
* Namespace [System::Reflection](../../)
* Library [Aspose.Page for C++](../../../)
