Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
IPofHandler..::.BeginUserType Method
IPofHandler Interface See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Report that a value of a "user type" has been encountered in the POF stream. A user type is analogous to a "type", and a value of a user type is analogous to an "object".

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

# Syntax

C#
    void BeginUserType(
    	int position,
    	int nId,
    	int typeId,
    	int versionId
    )

#### 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.

nId
  Type: System..::.Int32
  Identity of the object to encode, or -1 if identity shouldn't be encoded in the POF stream.

typeId
  Type: System..::.Int32
  The user type identifier, (typeId >= 0).

versionId
  Type: System..::.Int32
  The version identifier for the user data type data in the POF stream, (versionId >= 0).

# Remarks

This method call will be followed by a separate call to an "on" or "begin" method for each of the property values in the user type, and the user type will then be terminated by a call to EndComplexValue()()().

# See Also

IPofHandler Interface
Tangosol.IO.Pof Namespace