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





Reads an object with the specified name.

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

 Syntax

C#  Copy Code

public Object ReadObject (
    string elementName,
    XmlElement parentElement,
    Object defaultValue = null
)

Visual Basic  Copy Code

Public Function ReadObject( _
    elementName As String, _
    parentElement As XmlElement, _
    Optional defaultValue As Object = Nothing _
) As Object

 Parameters

elementName

A string specifying the name of the element.

parentElement

The parent XML element.

defaultValue
Optional.

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

 Return Value

Type: Object
The read object

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.UI.WebForms Namespace