SpanMarshaller<T,TUnmanagedElement>.GetManagedValuesDestination Method

Definition

Gets a span of the space where the managed collection elements should be stored.

public:
 static Span<T> GetManagedValuesDestination(Span<T> managed);
public static Span<T> GetManagedValuesDestination (Span<T> managed);
static member GetManagedValuesDestination : Span<'T> -> Span<'T>
Public Shared Function GetManagedValuesDestination (managed As Span(Of T)) As Span(Of T)

Parameters

managed
Span<T>

A span over the space to store the managed elements.

Returns

A span over the managed memory that can contain the specified number of elements.

Applies to