BoxEnum()

ObjectExt::BoxEnum(T) method

Boxes enum types for being propagated as Object.

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

Template parameters

ParameterDescription
TEnum type to box.

Arguments

ParameterTypeDescription
enumValueTEnum value to box.

Return Value

Boxed enum value.

See Also