DiagramLite Programmer's Guide
XmlPersistContext.ReadBool Method (String, XElement, Boolean)
See Also
 





Reads a boolean value with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.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

 See Also

ReadBool Method Overload List
XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace