Share via


Count Property

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

Gets the number of items in the collection (in paged collections, this is the number of items on the current page.)

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

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

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

Property Value

Type: System..::.Int32
The number of items in the collection (in paged collections, this is the number of items on the current page.)

Remarks

A read-only property that returns a count of the number of CatalogObjectCollection<(Of <(TObject, TDataSet>)>) objects contained in the CatalogObjectCollection<(Of <(TObject, TDataSet>)>) collection.

Permissions

See Also

Reference

CatalogObjectCollection<(Of <(TObject, TDataSet>)>) Class

CatalogObjectCollection<(Of <(TObject, TDataSet>)>) Members

Microsoft.CommerceServer.Catalog Namespace