Platform::Box Class

0 out of 2 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.