DiagramLite Programmer's Guide
XmlPersistContext.WriteEnum Method
See Also
 





Writes the specified enum value.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

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

 Parameters

enumValue

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

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace