com.onlineobject.objectnet Namespace
com.onlineobject.objectnet.server Namespace

EmbeddedMessage..::..Add Method (array<UInt16>[]()[][], Boolean)

Adds a [ushort] array to the message.

Namespace:  com.onlineobject.objectnet.server
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public EmbeddedMessage Add(

	ushort[] array,

	bool includeLength

)

Parameters

array
Type: array<UInt16>[]()[][]
The array to add.
includeLength
Type: Boolean
Whether or not to include the length of the array in the message.

Return Value

The message that the array was added to.

Remarks


This method is simply an alternative way of calling AddUShorts(array<UInt16>[]()[][], Boolean).