Edit

Share via


SpanMarshaller<T,TUnmanagedElement>.GetManagedValuesSource Method

Definition

Gets a span of the managed collection elements.

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

Parameters

managed
Span<T>

The managed collection.

Returns

A span of the managed collection elements.

Applies to