MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.ReadInt Method (String, XmlElement, Int32)

See Also
 





Reads an integer value with the specified name.

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

 Syntax

C#  Copy Code

public int ReadInt (
    string elementName,
    XmlElement parentElement,
    int defaultValue
)

Visual Basic  Copy Code

Public Function ReadInt( _
    elementName As String, _
    parentElement As XmlElement, _
    defaultValue As Integer _
) As Integer

 Parameters

elementName

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

parentElement

Type: XmlElement
The parent XML element.

defaultValue

Type: Int32
A default value to use, if no integer is read.

 Return Value

Type: Int32
The read sbyte value

 See Also