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





Reads a Style object with the specified name.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public Style ReadStyle (
    string elementName,
    XmlElement parentElement
)

Visual Basic  Copy Code

Public Function ReadStyle ( _
    elementName As String, _
    parentElement As XmlElement _
) As Style

 Parameters

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

 Return Value

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

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
WriteStyle Method