Box::operator Box<const T>^ Operator

Enables boxing conversions from a const value class T or enum class T to Box<T>.

operator Box<const T>^(const T valueType);


Any value class, value struct, or enum type. Includes the built-in types in the default namespace.

A Platform::Box<T>^ instance that represents the original value boxed in a ref class.

Header: vccorlib.h

Namespace: Platform

© 2014 Microsoft