System.Runtime.InteropServices.ArrayWithOffset Structure

Encapsulates an array and an offset within the specified array.

See Also: ArrayWithOffset Members


public struct ArrayWithOffset


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.


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