Share via


Count Property

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

Gets the count of the number of elements in the CommerceResourceCollection collection.

Namespace:  Microsoft.CommerceServer.Runtime.Configuration
Assembly:  Microsoft.CommerceServer.Shared (in Microsoft.CommerceServer.Shared.dll)

Syntax

'Declaration
Public ReadOnly Property Count As Integer
'Usage
Dim instance As CommerceResourceCollection
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 number of site resources contained in the collection.

Implements

ICollection..::.Count

Remarks

Gets the number of site resources contained in the CommerceResourceCollection collection.

Permissions

See Also

Reference

CommerceResourceCollection Class

CommerceResourceCollection Members

Microsoft.CommerceServer.Runtime.Configuration Namespace