Platform::IBox Interface

0 out of 1 rated this helpful - Rate this topic

The Platform::IBox interface is the C++ name for the Windows::Foundation::IReference interface.

template <typename T>
interface class IBox
T

The type of the boxed value.

The IBox interface is primarily used internally to box value types that are passed to C++ methods that take parameters of type Object^. You can explicitly declare an input parameter as IBox<SomeValueType>. For an example, see Boxing (C++/CX).

The Platform::IBox interface inherits from the Platform::IValueType interface. IBox has these members:

Properties

Method

Description

Value

Returns the unboxed value that was previously stored in this IBox instance.

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