共用方式為


ReadOnlySpanMarshaller<T,TUnmanagedElement>.ManagedToUnmanagedOut.GetManagedValuesDestination 方法

定義

傳回範圍,指向應該儲存陣列Managed元素的記憶體。

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)

參數

numElements
Int32

陣列中的項目數目。

傳回

陣列的Managed值應該儲存所在的範圍。

適用於