I​Reference<​T> I​Reference<​T> I​Reference<​T> Interface

Definition

Enables arbitrary enumerations, structures, and delegate types to be used as property values.

.NET This interface appears as Nullable<T>.

C++/CX This interface appears as Platform::IBox<T>

public : interface IReference<T>public interface IReference<T>Public Interface IReference<T>
Inheritance
IReference<T>IReference<T>IReference<T>
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced v1)

Inherited Members

Inherited methods

Windows.Foundation.IPropertyValue.GetBooleanArray(System.Boolean[])Windows.Foundation.IPropertyValue.GetBooleanArray(System.Boolean[])Windows.Foundation.IPropertyValue.GetBooleanArray(System.Boolean[])
Windows.Foundation.IPropertyValue.GetChar16Array(System.Char[])Windows.Foundation.IPropertyValue.GetChar16Array(System.Char[])Windows.Foundation.IPropertyValue.GetChar16Array(System.Char[])
Windows.Foundation.IPropertyValue.GetDateTimeArray(Windows.Foundation.DateTime[])Windows.Foundation.IPropertyValue.GetDateTimeArray(Windows.Foundation.DateTime[])Windows.Foundation.IPropertyValue.GetDateTimeArray(Windows.Foundation.DateTime[])
Windows.Foundation.IPropertyValue.GetDoubleArray(System.Double[])Windows.Foundation.IPropertyValue.GetDoubleArray(System.Double[])Windows.Foundation.IPropertyValue.GetDoubleArray(System.Double[])
Windows.Foundation.IPropertyValue.GetGuidArray(System.Guid[])Windows.Foundation.IPropertyValue.GetGuidArray(System.Guid[])Windows.Foundation.IPropertyValue.GetGuidArray(System.Guid[])
Windows.Foundation.IPropertyValue.GetInspectableArray(System.Object[])Windows.Foundation.IPropertyValue.GetInspectableArray(System.Object[])Windows.Foundation.IPropertyValue.GetInspectableArray(System.Object[])
Windows.Foundation.IPropertyValue.GetInt16Array(System.Int16[])Windows.Foundation.IPropertyValue.GetInt16Array(System.Int16[])Windows.Foundation.IPropertyValue.GetInt16Array(System.Int16[])
Windows.Foundation.IPropertyValue.GetInt32Array(System.Int32[])Windows.Foundation.IPropertyValue.GetInt32Array(System.Int32[])Windows.Foundation.IPropertyValue.GetInt32Array(System.Int32[])
Windows.Foundation.IPropertyValue.GetInt64Array(System.Int64[])Windows.Foundation.IPropertyValue.GetInt64Array(System.Int64[])Windows.Foundation.IPropertyValue.GetInt64Array(System.Int64[])
Windows.Foundation.IPropertyValue.GetPointArray(Windows.Foundation.Point[])Windows.Foundation.IPropertyValue.GetPointArray(Windows.Foundation.Point[])Windows.Foundation.IPropertyValue.GetPointArray(Windows.Foundation.Point[])
Windows.Foundation.IPropertyValue.GetRectArray(Windows.Foundation.Rect[])Windows.Foundation.IPropertyValue.GetRectArray(Windows.Foundation.Rect[])Windows.Foundation.IPropertyValue.GetRectArray(Windows.Foundation.Rect[])
Windows.Foundation.IPropertyValue.GetSingleArray(System.Single[])Windows.Foundation.IPropertyValue.GetSingleArray(System.Single[])Windows.Foundation.IPropertyValue.GetSingleArray(System.Single[])
Windows.Foundation.IPropertyValue.GetSizeArray(Windows.Foundation.Size[])Windows.Foundation.IPropertyValue.GetSizeArray(Windows.Foundation.Size[])Windows.Foundation.IPropertyValue.GetSizeArray(Windows.Foundation.Size[])
Windows.Foundation.IPropertyValue.GetStringArray(System.String[])Windows.Foundation.IPropertyValue.GetStringArray(System.String[])Windows.Foundation.IPropertyValue.GetStringArray(System.String[])
Windows.Foundation.IPropertyValue.GetTimeSpanArray(Windows.Foundation.TimeSpan[])Windows.Foundation.IPropertyValue.GetTimeSpanArray(Windows.Foundation.TimeSpan[])Windows.Foundation.IPropertyValue.GetTimeSpanArray(Windows.Foundation.TimeSpan[])
Windows.Foundation.IPropertyValue.GetUInt16Array(System.UInt16[])Windows.Foundation.IPropertyValue.GetUInt16Array(System.UInt16[])Windows.Foundation.IPropertyValue.GetUInt16Array(System.UInt16[])
Windows.Foundation.IPropertyValue.GetUInt32Array(System.UInt32[])Windows.Foundation.IPropertyValue.GetUInt32Array(System.UInt32[])Windows.Foundation.IPropertyValue.GetUInt32Array(System.UInt32[])
Windows.Foundation.IPropertyValue.GetUInt64Array(System.UInt64[])Windows.Foundation.IPropertyValue.GetUInt64Array(System.UInt64[])Windows.Foundation.IPropertyValue.GetUInt64Array(System.UInt64[])
Windows.Foundation.IPropertyValue.GetUInt8Array(System.Byte[])Windows.Foundation.IPropertyValue.GetUInt8Array(System.Byte[])Windows.Foundation.IPropertyValue.GetUInt8Array(System.Byte[])

Inherited properties

Remarks

When programming with .NET, this interface is hidden and developers should use the Nullable<T> class. All Windows Runtime members where the basic IDL signature shows IReference (with a constraint) are instead exposed using the nullable syntax of the nullable value type (for example, ?bool).

When programming with C++/CX, this interface is hidden and developers should use the Platform::IBox<T> interface. All Windows Runtime members where the basic IDL signature shows IReference (with a constraint) are instead exposed using Platform::IBox<T> with the template as a particular value type. This is how C++/CX implements nullable value types. For more info, see Value classes and structs (C++/CX).

Because both .NET and C++/CX have projection equivalents, don't implement this interface unless you are using WRL and/or writing code for a Windows Runtime component and need a nullable value type.

Interface inheritance

IReference; inherits IPropertyValue. Types that implement IReference; also implement the interface members of IPropertyValue.

Properties

Value Value Value

Gets the type that is represented as an IPropertyValue.

public : T Value { get; }public T Value { get; }Public ReadOnly Property Value As T
Value
T T T

The type.

Attributes
See Also

See Also