MindFusion.Scheduling for ASP.NET Programmer's Guide
XmlSerializationContext.WriteUnit Method
See Also
 





Writes the specified System.Web.UI.WebControls.Unit value as an XML element with the specified name and the specified parent.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

value
Type: Unit
The System.Web.UI.WebControls.Unit to write.
elementName

Type: String
The name of the new XML element.

parentElement

Type: XmlElement
The parent of the new XML element.

 Return Value

Type: XmlElement
The newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace