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





Writes the specified color.

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

 Syntax

C#  Copy Code

public XElement WriteColor (
    Color color,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function WriteColor( _
    color As Color, _
    elementName As String, _
    parentElement As XElement _
) As XElement

 Parameters

color
The .NET Color 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 XElement class representing the newly created XML element.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
ReadColor Method