Returns the number of items in the collection. If the collection's
IDatabaseObjects.Subset has been implemented then this function returns the
number of records within the subset, not the entire table.
Also utilises the table joins so that any filters specified on the subset
can be used.
Namespace: DatabaseObjectsAssembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0
Syntax
C# |
---|
public int ObjectsCount( IDatabaseObjects objCollection ) |
Visual Basic |
---|
Public Function ObjectsCount ( _ objCollection As IDatabaseObjects _ ) As Integer |
Visual C++ |
---|
public: int ObjectsCount( IDatabaseObjects^ objCollection ) |
Parameters
- objCollection
- Type: DatabaseObjects..::..IDatabaseObjects
The object for which the number of records are returned.
Return Value
Int32 (System.Int32)Examples
CopyC#
'Return the number of items in this collection. Public ReadOnly Property Count() As Integer Get Return objDatabase.ObjectsCount(Me) End Get End Property