ReadOnlySpan<T>.Implicit Operatore

Definizione

Overload

Implicit(ArraySegment<T> to ReadOnlySpan<T>)

Definisce una conversione implicita di un ArraySegment<T> in un ReadOnlySpan<T>.

Implicit(T[] to ReadOnlySpan<T>)

Definisce una conversione implicita di una matrice in ReadOnlySpan<T>.

Implicit(ArraySegment<T> to ReadOnlySpan<T>)

Definisce una conversione implicita di un ArraySegment<T> in un ReadOnlySpan<T>.

public:
 static operator ReadOnlySpan<T>(ArraySegment<T> segment);
public static implicit operator ReadOnlySpan<T> (ArraySegment<T> segment);
static member op_Implicit : ArraySegment<'T> -> ReadOnlySpan<'T>
Public Shared Widening Operator CType (segment As ArraySegment(Of T)) As ReadOnlySpan(Of T)

Parametri

segment
ArraySegment<T>

Segmento di matrice da convertire in ReadOnlySpan<T>.

Restituisce

ReadOnlySpan<T>

Intervallo di sola lettura che corrisponde al segmento di matrice.

Si applica a

Implicit(T[] to ReadOnlySpan<T>)

Definisce una conversione implicita di una matrice in ReadOnlySpan<T>.

public:
 static operator ReadOnlySpan<T>(cli::array <T> ^ array);
public static implicit operator ReadOnlySpan<T> (T[]? array);
public static implicit operator ReadOnlySpan<T> (T[] array);
static member op_Implicit : 'T[] -> ReadOnlySpan<'T>
Public Shared Widening Operator CType (array As T()) As ReadOnlySpan(Of T)

Parametri

array
T[]

Matrice da convertire in ReadOnlySpan<T>.

Restituisce

ReadOnlySpan<T>

Intervallo di sola lettura corrispondente a array.

Si applica a