Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
PofHelper..::.GetPofTypeId Method
PofHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Return an identifier that represents the POF type of the specified type.

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

# 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

Exception | Condition
--- | ---
System..::.ArgumentException | If the user type associated with the given object is unknown to the specified IPofContext.

# See Also

PofHelper Class
Tangosol.IO.Pof Namespace