CollectionsMarshal.AsSpan<T>(List<T>) Method
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.
public:
generic <typename T>
static Span<T> AsSpan(System::Collections::Generic::List<T> ^ list);
public static Span<T> AsSpan<T> (System.Collections.Generic.List<T>? list);
static member AsSpan : System.Collections.Generic.List<'T> -> Span<'T>
Public Shared Function AsSpan(Of T) (list As List(Of T)) As Span(Of T)
Type Parameters
- T
The type of items in the list.
Parameters
Returns
A Span<T> instance over the List<T>.
Applies to
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.