共用方式為


ReadOnlySpanMarshaller<T,TUnmanagedElement>.UnmanagedToManagedOut.GetManagedValuesSource 方法

定義

取得 Managed 集合項目的範圍。

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

參數

managed
ReadOnlySpan<T>

Managed 集合。

傳回

Managed 集合項目的範圍。

適用於