Muokkaa

Jaa


ReadOnlySpanMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedOut.GetManagedValuesDestination Method

Definition

Returns a span that points to the memory where the managed elements of the array should be stored.

public:
 Span<T> GetManagedValuesDestination(int numElements);
public Span<T> GetManagedValuesDestination (int numElements);
member this.GetManagedValuesDestination : int -> Span<'T>
Public Function GetManagedValuesDestination (numElements As Integer) As Span(Of T)

Parameters

numElements
Int32

The number of elements in the array.

Returns

A span where managed values of the array should be stored.

Applies to