Iterates items in a IDictionary object and generates XML nodes
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static void SerializeSettings( IDictionary dictionary, XmlDocument document, string targetPath, string elementName ) |
Visual Basic |
---|
Public Shared Sub SerializeSettings ( dictionary As IDictionary, document As XmlDocument, targetPath As String, elementName As String ) |
Parameters
- dictionary
- Type: System.Collections..::..IDictionary
The IDictionary to iterate
- document
- Type: System.Xml..::..XmlDocument
The XML document the node should be added to
- targetPath
- Type: System..::..String
Path at which to serialize settings
- elementName
- Type: System..::..String
The name of the new element created