OrderGroup.LoadTemplate Method (PIA)

Use this method to load the specified template from the database.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub LoadTemplate(strOrderGroupID As String)

[C#]

using Microsoft.CommerceServer.Interop.Orders;
…
public void LoadTemplate(stringstrOrderGroupID);

Parameters

[Visual Basic .NET]

  • strOrderGroupID
    A String that specifies the OrderGroupID of the template to be loaded.

[C#]

  • strOrderGroupID
    A string that specifies the OrderGroupID of the template to be loaded.

Exceptions

This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.

[Visual Basic .NET]

Example

' oOrderGroup is a Commerce.OrderGroup Object
oOrderGroup.LoadTemplate("{EEF9C9CC-C33E-11D0-B8A0-00C04FB616C7}")

Requirements

Namespace: Microsoft.CommerceServer.Interop.Orders

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Interop.Orders.Requisition.dll

See Also

OrderGroup Class

OrderGroup.LoadOrder

OrderGroup.LoadBasket

OrderGroup.SaveAsTemplate

Copyright © 2005 Microsoft Corporation.
All rights reserved.