Count Property

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

Gets the number of rows in the ShippingMethodDataTable.

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 ShippingMethodDataSet..::.ShippingMethodDataTable
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 ShippingMethodDataSet..::.ShippingMethodDataTable.

Remarks

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

Permissions

See Also

Reference

ShippingMethodDataSet..::.ShippingMethodDataTable Class

ShippingMethodDataSet..::.ShippingMethodDataTable Members

Microsoft.CommerceServer.Orders Namespace