Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.