System::ObjectExt::BoxEnum 方法

ObjectExt::BoxEnum method

将枚举类型装箱,以便作为 Object 传播。

template<typename T> static SmartPtr<System::BoxedValueBase> System::ObjectExt::BoxEnum(T enumValue)
Parameter描述
T要装箱的 Enum 类型。
ParameterType描述
enumValueT要装箱的 Enum 值。

ReturnValue

已装箱的枚举值。

另见