NullableRef<T>.Value Property

Definition

Gets the T reference represented by the current NullableRef<T> instance.

C#
public ref T Value { get; }

Property Value

T

Exceptions

Thrown if HasValue is false.

Applies to

Product Versions
Windows Community Toolkit 7.0.0, 7.1.0