DictionaryXMLTransformsFreeThreaded.GenerateXMLForDictionaryUsingSchema (OrderForm, String, Boolean) Method (PIA)

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

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop
…
Public Function GenerateXMLForDictionaryUsingSchema(orderForm As OrderForm,
  xmlSchema As IXMLDOMDocument) As Object

[C#]

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

Parameters

[Visual Basic .NET]

  • orderForm
    Interface to an OrderForm object that contains the data to be converted.
  • xmlSchema
    An XMLDOMDocument object that contains the XML schema.

[C#]

  • Dictionary
    An OrderForm interface to an OrderForm 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.