다음을 통해 공유


Count Property

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

Gets the count of the number of elements in the DiscountItemCollection collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As DiscountItemCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
property int Count {
    int get ();
}
public function get Count () : int

Property Value

Type: System..::.Int32
The number of DiscountItem objects contained in the collection.

Remarks

Gets the count of the number of elements in the DiscountItemCollection collection.

Permissions

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace