Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Return an identifier that represents the POF type of the specified type.

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

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