MindFusion.Scheduling for Silverlight Programmer's Guide
XmlSerializationContext.WriteEnum Method (Object, String, XElement)
See Also
 





Writes the specified enum value.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.Silverlight

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

value
The enum value to write.
elementName
The name of the element under which the value should be written.
parentElement
The parent element of the newly created node.

 Return Value

An instance of the .NET XElement class representing the newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
ReadEnum Method