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





Reads a Size object with the specified name.

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

 Syntax

C#  Copy Code

public Size ReadSize (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadSize( _
    elementName As String, _
    parentElement As XElement _
) As Size

 Parameters

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

 Return Value

A .NET Size object. Returns an empty Size if there is no element with the specified name under the specified parent.

 See Also

XmlSerializationContext Members
XmlSerializationContext Class
MindFusion.Scheduling Namespace
WriteSize Method