MindFusion.Charting for Silverlight Programmer's Guide
XmlSerializationContext.ReadBool Method (String, XElement, Boolean)
See Also
 






ReReads a boolean value with the specified name.

Namespace: MindFusion.Charting.Silverlight
Assembly: MindFusion.Charting.Silverlight

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element containing the bool value.

parentElement

The parent element of the node with the specified name.

defaultValue

The value to return if the specified element is not found.

 Return Value

The deserialized a bool value or returns defaultValue if the conversion fails.

 See Also

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