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 collection.
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 DataSetBasedCollection
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 count of the number of items in the collection.
Remarks
A read-only property that returns a count of the number of DataSetBasedCollection objects contained in the DataSetBasedCollection<(Of <(TObject, TDataSet>)>) collection.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataSetBasedCollection<(Of <(TObject, TDataSet>)>) Class