MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.WriteUnit Method

See Also
 





Writes a Unit value.

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

 Syntax

C#  Copy Code

public XmlElement WriteUnit (
    Unit unit,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteUnit( _
    unit As Unit, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

unit

Type: Unit
The Unit value to write.

elementName

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

parentElement

Type: XmlElement
The parent XML element.

 Return Value

Type: XmlElement
The created XmlElement

 See Also