MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.ReadString Method (String, XmlElement, String)

See Also
 





Reads a string value with the specified name.

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

 Syntax

C#  Copy Code

public string ReadString (
    string elementName,
    XmlElement parentElement,
    string defaultValue
)

Visual Basic  Copy Code

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

 Parameters

elementName

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

parentElement

Type: XmlElement
The parent XML element.

defaultValue

Type: String
A default value to use, if no string is read.

 Return Value

Type: String
The read string value

 See Also