Search
XmlPersistContext.ReadInt Method (String, XElement, Int32)
See Also
 






Reads an integer value with the specified name.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public int ReadInt (
    string elementName,
    XElement parentElement,
    int defaultValue
)

Visual Basic  Copy Code

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

 Parameters

elementName

The name of the element containing the integer value.

parentElement

The parent element of the node with the specified name.

defaultValue

The value returned if the specified element is not found.

 Return Value

 See Also