ArrayWithOffset(Object, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.