Search
XmlPersistContext.ReadString Method (String, XElement, String)
See Also
 






Reads a string value with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public string ReadString (
    string elementName,
    XElement parentElement,
    string defaultValue
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element containing the string value.

parentElement

The parent element of the node with the specified name.

defaultValue

The value to return if the specified element is not found.

 Return Value

 See Also