PocketPlanner Programmer's Guide

XmlSerializationContext.ReadBrush Method

See Also

Reads a MindFusion.Drawing.Brush object with the specified name.

Namespace: MindFusion.Scheduling
Assembly: PocketPlanner

 Syntax

C#

public Brush ReadBrush (
    string elementName,
    XmlElement parentElement
)

Visual Basic

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

 Parameters

elementName
The name of the element containing the Brush object.
parentElement
The parent element of the node with the specified name.

 Return Value

An instance of the MindFusion.Drawing.Brush class. Returns null (Nothing in Visual Basic) if there is no element with the specified name under the specified parent.

 See Also