Share via


Count Property

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

Gets the number of DiscountPrioritySet..::.DiscountPriority objects in the DiscountPrioritiesDataTable.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Count As Integer
'Usage
Dim instance As DiscountPrioritySet..::.DiscountPrioritiesDataTable
Dim value As Integer

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

Property Value

Type: System..::.Int32
The number of rows in DiscountPrioritySet..::.DiscountPrioritiesDataTable.

Remarks

Use this property to determine the number of rows in the DiscountPrioritiesDataTable. The Count property is often used when iterating through the collection to determine the upper bound

Permissions

See Also

Reference

DiscountPrioritySet..::.DiscountPrioritiesDataTable Class

DiscountPrioritySet..::.DiscountPrioritiesDataTable Members

Microsoft.CommerceServer.Marketing Namespace