ReadOnlyRef<T>.Implicit 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.
Overloads
Implicit(ReadOnlyRef<T> to T) |
Implicitly gets the |
Implicit(Ref<T> to ReadOnlyRef<T>) |
Implicit(ReadOnlyRef<T> to T)
Implicitly gets the T
value from a given ReadOnlyRef<T> instance.
public static implicit operator T (CommunityToolkit.HighPerformance.ReadOnlyRef<T> reference);
static member op_Implicit : CommunityToolkit.HighPerformance.ReadOnlyRef<'T> -> 'T
Public Shared Widening Operator CType (reference As ReadOnlyRef(Of T)) As T
Parameters
- reference
- ReadOnlyRef<T>
The input ReadOnlyRef<T> instance.
Returns
T
Applies to
Implicit(Ref<T> to ReadOnlyRef<T>)
public static implicit operator CommunityToolkit.HighPerformance.ReadOnlyRef<T> (CommunityToolkit.HighPerformance.Ref<T> reference);
static member op_Implicit : CommunityToolkit.HighPerformance.Ref<'T> -> CommunityToolkit.HighPerformance.ReadOnlyRef<'T>
Public Shared Widening Operator CType (reference As Ref(Of T)) As ReadOnlyRef(Of T)
Parameters
- reference
- Ref<T>