System.Runtime.InteropServices.ArrayWithOffset Structure

Encapsulates an array and an offset within the specified array.

See Also: ArrayWithOffset Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public struct ArrayWithOffset

Remarks

Can be used as an argument to a native method reached through platform invoke. In this case, the platform invoke marshaler will retrieve the starting address of the array, add the offset, and pass the resulting pointer to the underlying native function. This structure only supports arrays containing no references, such as primitive type arrays and value type arrays containing only fields of primitive types.

Requirements

Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0