Platform::IBox Interface

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.

Show:
© 2014 Microsoft