MindFusion.Wpf Pack Programmer's Guide
XmlSerializationContext.ReadBool Method (String, XmlElement, Boolean)
See Also
 





Reads a boolean value with the specified name.

Namespace: MindFusion.Charting.Wpf
Assembly: MindFusion.Charting.Wpf

 Syntax

C#  Copy Code

public bool ReadBool (
    string elementName,
    XmlElement parentElement,
    bool defaultValue
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element to read.

parentElement

A System.Xml.XmlElement object that is parent of the element to read.

defaultValue

The value that is returned if parsing the element fails.

 Return Value

The bool value that is deserialized or default value if deserialization fails.

 See Also

ReadBool Method Overload List
XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Charting.Wpf Namespace