Encapsulates a combination of an array and an offset within that array. When used as an argument to a native method, reached via Platform Invoke, the PInvoke marshaler will fetch the base address of the array, add the offset, and pass the resulting pointer to the underlying native function.
Object
ValueType
ArrayWithOffset
[Visual Basic] Public Structure ArrayWithOffset [C#] public struct ArrayWithOffset [C++] public __value struct ArrayWithOffset
[JScript] In JScript, you can use the structures in the NGWS frameworks, but you cannot define your own.
Only supports arrays that contain no references, i.e. arrays of primitive types and arrays of value types that only contain fields of primitive types.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib.dll
ArrayWithOffset Members | System.Runtime.InteropServices Namespace