Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Return an identifier that represents the POF type of the specified type.

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

Syntax

C#
public static int GetPofTypeId(
	Type type,
	IPofContext ctx
)

Parameters

type
Type: System..::.Type
The type; must not be null.
ctx
Type: Tangosol.IO.Pof..::.IPofContext
The IPofContext used to determine the type identifier of a user type; must not be null.

Return Value

One of the PofConstants struct T_* constants.

Exceptions

ExceptionCondition
System..::.ArgumentException If the user type associated with the given object is unknown to the specified IPofContext.

See Also