PocketPlanner Programmer's Guide

XmlSerializationContext.AddChildElement Method (String, XmlElement)

See Also

Adds a new child node with the specified name to the specified parent node.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public XmlElement AddChildElement (
    string elementName,
    XmlElement parentElement
)

Visual Basic

Public Function AddChildElement ( _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

elementName
The desired name of the new node.
parentElement
The parent element of the newly created node.

 Return Value

A .NET XmlElement object represneting the newly created element.

 See Also