Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleValue..::.EnsureType Method
SimpleValue Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Change the type of the internal representation of the IXmlValue.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    protected virtual Object EnsureType(
    	XmlValueType type
    )

#### Parameters

type
  Type: Tangosol.Run.Xml..::.XmlValueType
  The enumerated type to convert to.

#### Return Value

The current value of this SimpleValue object as the specified type or null.

# Remarks

A failed conversion will leave the value as null.

# See Also

SimpleValue Class
Tangosol.Run.Xml Namespace