MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.ReadFloat Method (String, XmlElement, Single)

See Also
 





Reads a float value with the specified name.

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

 Syntax

C#  Copy Code

public float ReadFloat (
    string elementName,
    XmlElement parentElement,
    float defaultValue
)

Visual Basic  Copy Code

Public Function ReadFloat( _
    elementName As String, _
    parentElement As XmlElement, _
    defaultValue As Single _
) As Single

 Parameters

elementName

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

parentElement

Type: XmlElement
The parent XML element.

defaultValue

Type: Single
A default value to use, if no float is read.

 Return Value

Type: Single
The read float value

 See Also