| title | Platform::IBoxArray Interface | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 12/30/2016 | ||
| ms.technology | cpp-windows | ||
| ms.reviewer | |||
| ms.suite | |||
| ms.tgt_pltfrm | |||
| ms.topic | language-reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 6cd82c9e-4230-4147-9edb-7a652875dbf1 | ||
| caps.latest.revision | 5 | ||
| author | ghogen | ||
| ms.author | ghogen | ||
| manager | ghogen |
IBoxArray is the wrapper for arrays of value types that are passed across the application binary interface (ABI) or stored in collections of Platform::Object^ elements such as those in XAML controls.
template <typename T>
interface class IBoxArray T
The type of the boxed value in each array element.
IBoxArray is the C++/CX name for Windows::Foundation::IReferenceArray.
The IBoxArray interface inherits from the IValueType interface. IBoxArray also has these members:
| Method | Description |
|---|---|
| Value | Returns the unboxed array that was previously stored in this IBoxArray instance. |
Returns the value that was originally stored in this object.
property T Value {T get();} T
The type of the boxed value.
Returns the value that was originally stored in this object.
For an example, see Boxing.