Search
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 XElement WriteBrush (
    Brush brush,
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

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

 Parameters

brush

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

 See Also