ArrayWithOffset(Object, Int32) 建構函式

定義

初始化 ArrayWithOffset 結構的新執行個體。

public:
 ArrayWithOffset(System::Object ^ array, int offset);
public ArrayWithOffset (object array, int offset);
public ArrayWithOffset (object? array, int offset);
new System.Runtime.InteropServices.ArrayWithOffset : obj * int -> System.Runtime.InteropServices.ArrayWithOffset
Public Sub New (array As Object, offset As Integer)

參數

array
Object

Managed 陣列。

offset
Int32

位移 (以位元組為單位),屬於透過平台叫用傳遞的元素。

例外狀況

陣列大於 2 GB。

適用於