Help Center

CADOParameters.Countproperty

Retrieves the number of objects of the **Parameters** collection.

DatabasespropertyCADOParameters.incdocumented

Syntax

PROPERTY Count () AS LONG

Return value

The number of objects in the Parameters collection.

Description

Retrieves the number of objects of the Parameters 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.

Reference

  • Include file CADOParameters.inc
  • Defined in AfxNova/CAdoParameters.inc:414
  • Documented in Databases/ADO Classes/CAdoCommand Class.md
  • Topic: CAdoCommand Class