Report that a sparse array of values has been encountered in the POF stream.

Namespace: Tangosol.IO.Pof
Assembly: Coherence (in Coherence.dll) Version: 12.1.2.0 (12.1.2.0)

Syntax

C#
void BeginSparseArray(
	int position,
	int elementCount
)

Parameters

position
Type: System..::..Int32
Context-sensitive position information: property index within a user type, array index within an array, element counter within a collection, entry counter within a dictionary, -1 otherwise.
elementCount
Type: System..::..Int32
The exact number of elements in the array, which is greater than or equal to the number of values in the sparse POF stream; in other words, the number of values that will subsequently be reported will not exceed this number.

Remarks

This method call will be followed by a separate call to an "on" or "begin" method for present element in the sparse array (up to elementCount elements), and the array extent will then be terminated by a call to EndComplexValue()()()().

See Also