DictionaryXMLTransformsFreeThreaded.GenerateXMLForDictionaryUsingSchema (IDictionary, IXMLDOMDocument) Method (PIA)

Use this method to extract an XML instance from the specified Dictionary object that conforms to the specified schema.

Definition

[Visual Basic .NET]

using Microsoft.CommerceServer.Interop;
…
Public Function GenerateXMLForDictionaryUsingSchema(Dictionary As IDictionary,
  xmlSchema As IXMLDOMDocument) As Object

[C#]

using Microsoft.CommerceServer.Interop;
using MSXMLLib;                        //For IXMLDOMNode & IXMLDOMDocument
…
public IXMLDOMNode GenerateXMLForDictionaryUsingSchema(IDictionaryDictionary,
  IXMLDOMDocumentxmlSchema);

Parameters

[Visual Basic .NET]

  • Dictionary
    Interface to a Dictionary object that contains the data to be converted.
  • xmlSchema
    An XMLDOMDocument object that contains the XML schema.

[C#]

  • Dictionary
    An IDictionary interface to a Dictionary object that contains the information to be converted.
  • xmlSchema
    An IXMLDOMDocument interface to an XMLDOMDocument object that contains the XML schema.

Return Values

[Visual Basic .NET] If this method completes successfully, it returns an XMLDOMDocument object that contains the XML schema.

[C#] This method returns an IXMLDOMNode interface to an XMLDOMNode object that contains the XML instance.

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.