## ObjectExt::BoxEnum method


Låser in enum‑typer för att kunna propageras som [Object](../../object/).

```cpp
template<typename T> static SmartPtr<System::BoxedValueBase> System::ObjectExt::BoxEnum(T enumValue)
```


| Parameter | Beskrivning |
| --- | --- |
| T | [Enum](../../enum/) typ att låsa in. |

| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| enumValue | T | [Enum](../../enum/) värde att låsa in. |

### ReturnValue

Inlåst enum‑värde.

## Se även

* Class [SmartPtr](../../smartptr/)
* Class [BoxedValueBase](../../boxedvaluebase/)
* Class [ObjectExt](../)
* Namespace [System](../../)
* Library [Aspose.PDF for C++](../../../)
