MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.WriteBool Method

See Also
 





Writes a boolean value with the specified name.

Namespace: MindFusion.UI.Web
Assembly: MindFusion.UI.Web

 Syntax

C#  Copy Code

public XmlElement WriteBool (
    bool boolValue,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

boolValue

Type: Boolean
The bool value to write.

elementName

Type: String
A string specifying the name of the element.

parentElement

Type: XmlElement
The parent XML element.

 Return Value

Type: XmlElement
The created XmlElement

 See Also