Bagikan melalui


Count Property

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

Gets the number of rows in the ShippingRatesDataTable.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Count As Integer
'Usage
Dim instance As ShippingRatesDataSet..::.ShippingRatesDataTable
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 the ShippingRatesDataSet..::.ShippingRatesDataTable.

Remarks

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

Permissions

See Also

Reference

ShippingRatesDataSet..::.ShippingRatesDataTable Class

ShippingRatesDataSet..::.ShippingRatesDataTable Members

Microsoft.CommerceServer.Orders Namespace