[This is preliminary documentation and is subject to change.]

Copies the content of a one-dimentional array to an unmanaged memory pointer.

Namespace: org.critterai.interop
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Copy(
	ushort[] source,
	int startIndex,
	IntPtr destination,
	int length
)
Public Shared Sub Copy ( _
	source As UShort(), _
	startIndex As Integer, _
	destination As IntPtr, _
	length As Integer _
)
public:
static void Copy(
	array<unsigned short>^ source, 
	int startIndex, 
	IntPtr destination, 
	int length
)

Parameters

source
array<UInt16>[]()[][]
An array to copy from.
startIndex
Int32
The index where the copy should start.
destination
IntPtr
The memory pointer to copy to.
length
Int32
The length of the copy.

Remarks

This method behaves the same as the Marshal.Copy methods.

See Also