PocketPlanner Programmer's Guide

XmlSerializationContext.WriteImage Method

See Also

Writes a reference to the specified image. The image is registered within the internal hashtable for subsequent serialization.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public XmlElement WriteImage (
    Image image,
    string elementName,
    XmlElement parentElement
)

Visual Basic

Public Function WriteImage ( _
    image As Image, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

image
The .NET Image object to write.
elementName
The name of the element under which the object 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