DiagramLite Programmer's Guide
XmlPersistContext.ReadString Method (String, XElement)
See Also
 





Reads a string value with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public string ReadString (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadString( _
    elementName As String, _
    parentElement As XElement _
) As String

 Parameters

elementName

The name of the element containing the string value.

parentElement

The parent element of the node with the specified name.

 Return Value

A string value. Returns an empty string if there is no element with the specified name under the specified parent.

 See Also

ReadString Method Overload List
XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace