MindFusion.Wpf Pack Programmer's Guide
XmlSerializationContext.WriteFloat Method (Single, String, XElement)
See Also
 





Writes a float value with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Wpf

 Syntax

C#  Copy Code

public XElement WriteFloat (
    float value,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteFloat( _
    value As Single, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

value
The float 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 .NET XElement class representing the newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
ReadFloat Method