Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
XmlHelper..::.ParseInitParams Method (IXmlElement)
XmlHelper Class See Also Send Feedback

Oracle® Coherence .NET API Reference Release 3.6
E15727-01
Parse the specified "init-params" element of the following structure:

                <!ELEMENT init-params (init-param*)>
                <!ELEMENT init-param ((param-name | param-type), param-value,
                description?)>

into an object array.

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

# Syntax

C#
    public static Object[] ParseInitParams(
    	IXmlElement xmlParams
    )

#### Parameters

xmlParams
  Type: Tangosol.Run.Xml..::.IXmlElement
  The "init-params" IXmlElement to parse.

#### Return Value

An array of parameters.

# Remarks

For the purpose of this method only the parameters that have the "param-type" element specified are processed. The following types are supported:

- string (a.k.a. System.String)
- bool (a.k.a. System.Boolean)
- int (a.k.a. System.Int32)
- long (a.k.a. System.Int64)
- float (a.k.a. System.Single)
- double (a.k.a. System.Double)
- decimal (a.k.a. System.Decimal)
- file (a.k.a. System.IO.File)
- date (a.k.a. System.DateTime)
- time (a.k.a. System.DateTime
- xml (a.k.a. Tangosol.Run.Xml.IXmlElement)

For any other [explicitly specified] types the corresponding "init-param" IXmlElement itself is placed into the returned array.

# See Also

XmlHelper Class
ParseInitParams Overload
Tangosol.Run.Xml Namespace