Windows desktop applications
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IReference<T> interface

Enables extending the Windows Runtime property system for user-defined enumerations, structures, and delegate types.

Template parameters

T

A Windows Runtime type that does not interface-require from the IInspectable interface. When used in a property, method signature, or delegate parameter, T must not be a delegate type or an HSTRING.

Members

The IReference<T> interface inherits from IPropertyValue. IReference also has these types of members:

Methods

The IReference<T> interface has these methods.

MethodDescription
get_Value

Gets the value that is stored in the IReference<T>.

 

Remarks

Do not create any IReference<T> instance that contains another IInspectable instance; instead, use the original instance.

Use the IReferenceArray<T> interface to represent an array of type T.

Language projections use the IReference<T> interface to represent "boxed" instances of Windows Runtime types.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h

See also

IPropertyValue
IReferenceArray<T>

 

 

Community Additions

Show:
© 2016 Microsoft