PocketPlanner Programmer's Guide

XmlSerializationContext.WriteEnum Method

See Also

Writes the specified enum value.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

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

Visual Basic

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

 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

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

 See Also