## TypeInfo::GetCustomAttribute method


Recherche l'attribut personnalisé appliqué ayant le type spécifié et appliqué au type représenté par l'objet actuel.

```cpp
ObjectPtr System::TypeInfo::GetCustomAttribute(const TypeInfo &attributeType) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| attributeType | const TypeInfo\& | La référence constante à l'objet [TypeInfo](../) représentant le type de l'attribut à rechercher |

### ReturnValue

Un pointeur vers un objet représentant l'attribut trouvé, ou un pointeur nul si aucun attribut n'a été trouvé correspondant aux critères de recherche

## Voir aussi

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