ASP.NET Pack Programmer's Guide
XmlPersistContext.ReadInt Method
See Also
 





Reads an integer value with the specified name.

Namespace: MindFusion.UI.WebForms
Package: MindFusion.UI.WebForms

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

elementName

A string specifying the name of the element.

parentElement

The parent XML element.

defaultValue
Optional.

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

 Return Value

Type: Int32
The read sbyte value

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.UI.WebForms Namespace