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





Reads an integer value with the specified name.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

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

Visual Basic  Copy Code

Public Function ReadInt( _
    elementName As String, _
    parentElement As XmlElement, _
    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