## MemberInfo::GetCustomAttributes(bool) const method


Returnerar en array som innehåller objekt som representerar alla anpassade attribut som tillämpats på den typ som representeras av det aktuella objektet.

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


| Parameter | Type | Beskrivning |
| --- | --- | --- |
| inherit | bool | Om ärvda attribut också ska kontrolleras. |

## Se även

* 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


Returnerar en array som innehåller objekt som representerar alla anpassade attribut som tillämpats på den typ som representeras av det aktuella objektet.

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


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

## Se även

* 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++](../../../)
