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!

Marshal.AddrOfArrayElement

Returns the address of an element of an array in the native heap.

[Visual Basic]
Public Shared Function AddrOfArrayElement( _
   ByVal arr As Array, _
   ByVal index As Integer _
) As Integer
[C#]
public static int AddrOfArrayElement(
   Array arr,
   int index
);
[C++]
public: static int AddrOfArrayElement(
   Array* arr,
   int index
);
[JScript]
public static function AddrOfArrayElement(
   arr : Array,
   index : int
) : int;

Parameters

arr
Array of interest.
index
Element index of interest within the array.

Return Value

Address of target array element.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace