ASP.NET Pack Programmer's Guide
XmlSerializationContext.WriteEnum Method
See Also
 





Writes the specified Enumeration as an XML element with the specified name and the specified parent.

Namespace: MindFusion.Scheduling
Package: MindFusion.Scheduling.WebForms

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

value

The Enumeration to write.

elementName

The name of the new XML element.

parentElement

The parent of the new XML element.

 Return Value

The newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace