ArraySegment<T>.Implicit(T[] to ArraySegment<T>) Operator
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.
Defines an implicit conversion of an array of type T
to an array segment of type T
.
public:
static operator ArraySegment<T>(cli::array <T> ^ array);
public static implicit operator ArraySegment<T>(T[] array);
static member op_Implicit : 'T[] -> ArraySegment<'T>
Public Shared Widening Operator CType (array As T()) As ArraySegment(Of T)
- array
- T[]
The array to convert.
An array segment representation of the array.
Продукт | Версії |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Standard | 2.1 |
Відгук про .NET
.NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: