System::ObjectExt::BoxEnum 方法
ObjectExt::BoxEnum method
将枚举类型装箱,以便作为 Object 传播。
template<typename T> static SmartPtr<System::BoxedValueBase> System::ObjectExt::BoxEnum(T enumValue)
| Parameter | 描述 |
|---|---|
| T | 要装箱的 Enum 类型。 |
| Parameter | Type | 描述 |
|---|---|---|
| enumValue | T | 要装箱的 Enum 值。 |
ReturnValue
已装箱的枚举值。
另见
- Class SmartPtr
- Class BoxedValueBase
- Class ObjectExt
- Namespace System
- Library Aspose.Page for C++