NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayWithOffset Structure

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.

Remarks

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.

Requirements

Namespace: System.Runtime.InteropServices

Assembly: mscorlib.dll

See Also

ArrayWithOffset Members | System.Runtime.InteropServices Namespace