PocketPlanner Programmer's Guide

XmlSerializationContext.ReadBool Method (String, XmlElement)

See Also

Reads a boolean value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public bool ReadBool (
    string elementName,
    XmlElement parentElement
)

Visual Basic

Public Function ReadBool ( _
    elementName As String, _
    parentElement As XmlElement _
) As Boolean

 Parameters

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

 Return Value

A bool value. Returns false if there is no element with the specified name under the specified parent.

 See Also