Share via


OrderGroup.RemoveOrderForm Method (PIA)

Use this method to remove the specified OrderForm object from the OrderGroup object.

Definition

[Visual Basic .NET]

Imports Microsoft.CommerceServer.Interop.Orders
…
Public Sub RemoveOrderForm(strOrderFormName As String)

[C#]

using Microsoft.CommerceServer.Interop.Orders;
…
public void RemoveOrderForm(stringstrOrderFormName);

Parameters

[Visual Basic .NET]

  • strOrderFormName
    A String that specifies the OrderForm object to remove.

[C#]

  • strOrderFormName
    A string that specifies the OrderForm object to remove.

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.RemoveOrderForm("myOrderFormName")

Requirements

Namespace: Microsoft.CommerceServer.Interop.Orders

Platforms: Windows 2000, Windows Server 2003

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

See Also

OrderGroup Class

OrderGroup.AddOrderform

Copyright © 2005 Microsoft Corporation.
All rights reserved.