共用方式為


Count Property

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

Gets the count of the number of items in the PaymentMethodCollection collection.

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

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As PaymentMethodCollection
Dim value As Integer

value = instance.Count
public int Count { get; }
public:
virtual property int Count {
    int get () sealed;
}
public final function get Count () : int

Property Value

Type: System..::.Int32
The total number of payment methods in the collection.

Implements

ICollection..::.Count

Remarks

Returns the number of items in the PaymentMethodCollection collection.

Permissions

See Also

Reference

PaymentMethodCollection Class

PaymentMethodCollection Members

Microsoft.CommerceServer.Orders Namespace