MindFusion WinForms Programmer's Guide
XmlSerializationContext.WriteBrush Method
See Also
 





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

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public XmlElement WriteBrush (
    Brush brush,
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function WriteBrush ( _
    brush As Brush, _
    elementName As String, _
    parentElement As XmlElement _
) As XmlElement

 Parameters

brush
The Brush instance 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

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
ReadBrush Method