Share via


GetXml Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Returns the XML representation of the current order group collection.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Function GetXml As String
'Usage
Dim instance As OrderGroupCollection
Dim returnValue As String

returnValue = instance.GetXml()
public string GetXml()
public:
String^ GetXml()
public function GetXml() : String

Return Value

Type: System..::.String
XML text containing the current order group collection.

Remarks

Returns the XML representation of the OrderGroupCollection.

You can define a custom class and then add an instance of the custom class to an OrderGroup object by using a weakly-typed indexer property. Commerce Server can store and retrieve these custom objects. However, the XML that the GetXml method returns does not include the serialized representation of these custom objects.

Permissions

See Also

Reference

OrderGroupCollection Class

OrderGroupCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace