Partilhar via


Count Property

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

Gets the number of rows in the StateCodesDataTable.

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 RegionCodeDataSet..::.StateCodesDataTable
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 RegionCodeDataSet..::.StateCodesDataTable.

Remarks

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

Permissions

See Also

Reference

RegionCodeDataSet..::.StateCodesDataTable Class

RegionCodeDataSet..::.StateCodesDataTable Members

Microsoft.CommerceServer.Orders Namespace