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.Copy (Char[], Int32, Int32, Int32)

Copies an array of wide characters from managed heap to native heap.

[Visual Basic]
Overloads Public Shared Sub Copy( _
   ByVal source() As Char, _
   ByVal startIndex As Integer, _
   ByVal destination As Integer, _
   ByVal length As Integer _
)
[C#]
public static void Copy(
   char[] source,
   int startIndex,
   int destination,
   int length
);
[C++]
public: static void Copy(
   __wchar_t* source[],
   int startIndex,
   int destination,
   int length
);
[JScript]
public static function Copy(
   source : Char[],
   startIndex : int,
   destination : int,
   length : int
);

Parameters

source
Managed array of wide characters.
startIndex
Index within source at which copy is to start.
destination
Pointer to native heap.
length
Number of wide characters to copy.

See Also

Marshal Class | Marshal Members | System.Runtime.InteropServices Namespace | Marshal.Copy Overload List