DictionaryXMLTransformsFreeThreaded.ReconstructDictionaryFromXML Method (PIA)
Use this method to transform the specified XML instance (which must comply with the specified schema) into a Dictionary object. This method performs the inverse operation of the GenerateXMLForDictionaryUsingSchema method.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop
…
Public Function ReconstructDictionaryFromXML(szDictionaryXML As String,
xmlSchema As Object) As Object
[C#]
using Microsoft.CommerceServer.Interop;
using MSXMLLib; //For IXMLDOMDocument
…
public IDictionary ReconstructDictionaryFromXML(stringszDictionaryXML,
IXMLDOMDocumentxmlSchema);
Parameters
[Visual Basic .NET]
- szDictionaryXML
A String that contains the XML instance. - xmlSchema
An object reference to a XMLDOMDocument object that contains the XML schema.
[C#]
- szDictionaryXML
A string that contains the XML instance. - xmlSchema
An IXMLDOMDocument interface to an XMLDOMDocument object that contains the XML schema used in the conversion.
Return Values
[Visual Basic .NET] If this method completes successfully, it returns an object reference to a Dictionary object that contains the converted data.
[C#] This method returns an IDictionary interface of the reconstructed Dictionary object.
Exceptions
This method may throw one of many mapped exceptions or an exception of type CommerceException.
Requirements
Namespace: Microsoft.CommerceServer.Interop
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.DictionaryXMLTransform.dll
See Also
DictionaryXMLTransformsFreeThreaded class
Copyright © 2005 Microsoft Corporation.
All rights reserved.