PocketPlanner Programmer's Guide

XmlSerializationContext.ReadFloatArray Method

See Also

Reads a float array with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public float[] ReadFloatArray (
    string elementName,
    string subElementName,
    XmlElement parentElement
)

Visual Basic

Public Function ReadFloatArray ( _
    elementName As String, _
    subElementName As String, _
    parentElement As XmlElement _
) As Single()

 Parameters

elementName
The name of the element containing the array.
subElementName
The name of the elements containing the individual array values.
parentElement
The parent element of the node with the specified name.

 Return Value

An array of float values. Returns null (Nothing in Visual Basic) if there is no element with the specified name under the specified parent.

 See Also