## ObjectExt::BoxEnum method


Boxes enum types for being propagated as [Object](../../object/).

```cpp
template<typename T> static SmartPtr<System::BoxedValueBase> System::ObjectExt::BoxEnum(T enumValue)
```


| Parameter | Description |
| --- | --- |
| T | [Enum](../../enum/) type to box. |

| Parameter | Type | Description |
| --- | --- | --- |
| enumValue | T | [Enum](../../enum/) value to box. |

### ReturnValue

Boxed enum value.

## See Also

* Class [SmartPtr](../../smartptr/)
* Class [BoxedValueBase](../../boxedvaluebase/)
* Class [ObjectExt](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
