Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.45 KB

ireferencearray_1.md

File metadata and controls

27 lines (18 loc) · 1.45 KB
-api-id -api-type
T:Windows.Foundation.IReferenceArray`1
winrt interface

Windows.Foundation.IReferenceArray

-description

Enables arbitrary enumerations, structures, and delegate types to be used as an array of property values. You can't implement this interface, see Remarks.

-remarks

You can't implement the IReferenceArray interface or include it in a signature. IReferenceArray is mainly an internal implementation detail of how the Windows Runtime implements boxing and nullable values.

(C++/CX only) In C++/CX, this interface is exposed as Platform::IBoxArray<T>. In scenarios such as XAML data-binding in which a collection of either reference types or value types is passed as type Platform::Object^, you can use safe_cast to convert the object to IBoxArray, and then use the IBoxArray::Value property to access the strongly typed Platform::Array object that contains the elements of the collection.

Interface inheritance

IReferenceArray inherits IPropertyValue. Types that implement IReferenceArray also implement the interface members of IPropertyValue.

-examples

-see-also

IPropertyValue, Nullable<T>