ערוך

שתף באמצעות


Platform::IBoxArray Interface

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.

Syntax

template <typename T>
interface class IBoxArray

Parameters

T
The type of the boxed value in each array element.

Remarks

IBoxArray is the C++/CX name for Windows::Foundation::IReferenceArray.

Members

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.

IBoxArray::Value Property

Returns the value that was originally stored in this object.

Syntax

property T Value {T get();}

Parameters

T
The type of the boxed value.

Property Value/Return Value

Returns the value that was originally stored in this object.

Remarks

For an example, see Boxing.

See also

Array and WriteOnlyArray