ReadOnlySpan<T>.Implicit Opérateur

Définition

Surcharges

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

Définit une conversion implicite d’un ArraySegment<T> en ReadOnlySpan<T>.Defines an implicit conversion of an ArraySegment<T> to a ReadOnlySpan<T>.

Implicit(T[] to ReadOnlySpan<T>)

Définit une conversion implicite d’un tableau en ReadOnlySpan<T>.Defines an implicit conversion of an array to a ReadOnlySpan<T>.

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

Définit une conversion implicite d’un ArraySegment<T> en ReadOnlySpan<T>.Defines an implicit conversion of an ArraySegment<T> to a 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)

Paramètres

segment
ArraySegment<T>

Segment de tableau à convertir en ReadOnlySpan<T>.The array segment to be converted to a ReadOnlySpan<T>.

Retours

Étendue en lecture seule qui correspond au segment de tableau.A read-only span that corresponds to the array segment.

Implicit(T[] to ReadOnlySpan<T>)

Définit une conversion implicite d’un tableau en ReadOnlySpan<T>.Defines an implicit conversion of an array to a ReadOnlySpan<T>.

public:
 static operator ReadOnlySpan<T>(cli::array <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)

Paramètres

array
T[]

Tableau à convertir en ReadOnlySpan<T>.The array to convert to a ReadOnlySpan<T>.

Retours

Étendue en lecture seule qui correspond à array.The read-only span that corresponds to array.

S’applique à