Count Property

Applies To:

Bonds collection

Description:

The number of bonds in the collection

Syntax:

short/Integer Bonds.Count

Remarks:

Read-only. Only counts explicit bonds.

Example:

The following Visual Basic example gets the bonds count:

Dim TotalBonds As Object 'Bonds collection
Dim BondCount As Integer 'Variable to store Bond count
Dim CurrentMolecule As Object 'Molecule object

Set TotalBonds = CurrentMolecule.Bonds 'Returns Bonds collection
BondCount = TotalBonds.Count  'Get bond count

'Code required to create Molecule is omitted.

See Also:



2005 CambridgeSoft Corporation. All Rights Reserved. Privacy Statement
Tel  800 315-7300 / 617 588-9300     Fax  617 588-9390     Email   info@cambridgesoft.com
CambridgeSoft Corporation, 100 CambridgePark Drive, Cambridge, MA 02140 USA