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





Reads a byte value with the specified name.

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

 Syntax

C#  Copy Code

public byte ReadByte (
    string elementName,
    XmlElement parentElement,
    byte defaultValue = 0
)

Visual Basic  Copy Code

Public Function ReadByte( _
    elementName As String, _
    parentElement As XmlElement, _
    Optional defaultValue As Byte = 0 _
) As Byte

 Parameters

elementName

A string specifying the name of the element.

parentElement

The parent XML element.

defaultValue
Optional.

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

 Return Value

Type: Byte
The read byte value

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.UI.WebForms Namespace