Count Property
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets the current count of all the unique discounts contained within the current ShippingDiscountCollection collection.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As ShippingDiscountCollection
Dim value As Integer
value = instance.Count
public int Count { get; }
public:
virtual property int Count {
int get () sealed;
}
public final function get Count () : int
Property Value
Type: System..::.Int32
The number of unique ShippingDiscountRecord objects contained within the current ShippingDiscountCollection.
Implements
Remarks
Gets the count of the unique discounts in the current collection.
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.
See Also
Reference
ShippingDiscountCollection Class