MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.ReadShort Method (String, XmlElement, Int16)

See Also
 





Reads a short value with the specified name.

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

 Syntax

C#  Copy Code

public short ReadShort (
    string elementName,
    XmlElement parentElement,
    short defaultValue
)

Visual Basic  Copy Code

Public Function ReadShort( _
    elementName As String, _
    parentElement As XmlElement, _
    defaultValue As Short _
) As Short

 Parameters

elementName

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

parentElement

Type: XmlElement
The parent XML element.

defaultValue

Type: Int16
A default value to use, if no short value is read.

 Return Value

Type: Int16
The read short value

 See Also