Jaa


IsEmpty Property

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

Gets a value that indicates whether the line item count is zero.

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

Syntax

'Declaration
Public ReadOnly Property IsEmpty As Boolean
'Usage
Dim instance As OrderGroup
Dim value As Boolean

value = instance.IsEmpty
public bool IsEmpty { get; }
public:
property bool IsEmpty {
    bool get ();
}
public function get IsEmpty () : boolean

Property Value

Type: System..::.Boolean
true if the LineItemCount is zero; otherwise, false.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Returns a value that indicates whether the line item count is zero.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace