DiagramLite Programmer's Guide
XmlPersistContext.ReadHashtable Method
See Also
 





Reads a hash table object with the specified name.

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

 Syntax

C#  Copy Code

public Dictionary<Object, Object> ReadHashtable (
    string elementName,
    XElement parentElement
)

Visual Basic  Copy Code

Public Function ReadHashtable( _
    elementName As String, _
    parentElement As XElement _
) As Dictionary(Of Object, Object)

 Parameters

elementName
The name of the element containing the System.Collections.Generic.Dictionary Hashtable object.
parentElement

The parent element of the node with the specified name.

 Return Value

A System.Collections.Generic.Dictionary object. Returns null (Nothing in Visual Basic) if there is no element with the specified name under the specified parent.

 See Also

XmlPersistContext Members
XmlPersistContext Class
MindFusion.Diagramming Namespace