MindFusion.UI for WebForms Programmer's Guide

XmlPersistContext.WriteEnum Method

See Also
 





Writes the specified enum value.

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

 Syntax

C#  Copy Code

public XmlElement WriteEnum (
    Object enumValue,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteEnum( _
    enumValue As Object, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

enumValue

Type: Object
The enum 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