NullableReadOnlyRef<T>.Explicit Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Explicitly gets the T
value from a given NullableReadOnlyRef<T> instance.
public static explicit operator T (Microsoft.Toolkit.HighPerformance.NullableReadOnlyRef<T> reference);
static member op_Explicit : Microsoft.Toolkit.HighPerformance.NullableReadOnlyRef<'T> -> 'T
Public Shared Narrowing Operator CType (reference As NullableReadOnlyRef(Of T)) As T
Parameters
- reference
- NullableReadOnlyRef<T>
The input NullableReadOnlyRef<T> instance.
Returns
T
Exceptions
Thrown if HasValue is false
.