ArrayWithOffset(Object, Int32) Constructor

Definition

Initializes a new instance of the ArrayWithOffset structure.

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)

Parameters

array
Object

A managed array.

offset
Int32

The offset in bytes, of the element to be passed through platform invoke.

Exceptions

The array is larger than 2 gigabytes (GB).

Applies to