Language

ArraySegment.Implicit(T[] to ArraySegment) Operator

Definition

Defines an implicit conversion of an array of type T to an array segment of type T.

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

Parameters

array
T[]

The array to convert.

Returns

An array segment representation of the array.

Applies to