שתף באמצעות


Count Property

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

Gets the number of rows in the PaymentMethodDataTable.

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 PaymentMethodDataSet..::.PaymentMethodDataTable
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 PaymentMethodDataSet..::.PaymentMethodDataTable.

Remarks

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

Permissions

See Also

Reference

PaymentMethodDataSet..::.PaymentMethodDataTable Class

PaymentMethodDataSet..::.PaymentMethodDataTable Members

Microsoft.CommerceServer.Orders Namespace