Search
XmlSerializationContext.WriteBool Method
See Also
 






Writes a boolean value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public XElement WriteBool (
    bool value,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteBool( _
    value As Boolean, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

value

The value to write.

elementName

The name of the element under which the value should be written.

parentElement

The parent element of the newly created node.

 Return Value

An instance of the XElement class representing the newly created XML element.

 See Also