CAdoBase.Countproperty
Retrieves the number of objects of the **Properties** collection.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
PROPERTY Count () AS LONG
Also documented as
Item — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
cvIndex | A Variant expression that evaluates either to the name or to the ordinal number of an object in a collection. |
Return value
An Afx_ADOProperty object reference.
Description
Retrieves the number of objects of the Properties collection.
Remarks
Because numbering for members of a collection begins with zero, you should always code loops starting with the zero member and ending with the value of the Count property minus 1.
If the Count property is zero, there are no objects in the collection.
If Item cannot find an object in the collection corresponding to the Index argument, an error occurs.
Reference
- Include file
CAdoProperties.inc - Documented in Databases/ADO Classes/ADO.md
- Topic: CADODB