IReferenceArray<T> interface

Applies to Windows and Windows Phone

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

Syntax


generic<typename T>
public interface class IReferenceArray : IPropertyValue

Attributes

[Version(0x06020000)]

Type parameters

T

The type.

Members

The IReferenceArray interface inherits from IPropertyValue. IReferenceArray also has these types of members:

Properties

The IReferenceArray interface has these properties.

PropertyAccess typeDescription

Value

Read-onlyGets the type that is represented as an IPropertyValue array.

 

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++ only) In C++, 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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation

Metadata

Windows.winmd

See also

IPropertyValue
Nullable<T>

 

 

Show:
© 2014 Microsoft