Windows Dev Center

Platform::Box Class


Enables a value type such as Windows::Foundation::DateTime or a scalar type such as int to be stored in a Platform::Object type. It is usually not necessary to use Box explicitly because boxing happens implicitly when you cast a value type to Object^.

ref class Box abstract;


Header: vccorlib.h

Namespace: Platform

© 2015 Microsoft