SpanMarshaller<T,TUnmanagedElement>.GetManagedValuesDestination 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.
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.