PocketPlanner Programmer's Guide

XmlSerializationContext.ReadFloat Method

See Also

Reads a float value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public float ReadFloat (
    string elementName,
    XmlElement parentElement
)

Visual Basic

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

 Parameters

elementName
The name of the element containing the float value.
parentElement
The parent element of the node with the specified name.

 Return Value

A float value. Returns 0 if there is no element with the specified name under the specified parent.

 See Also