IsReaction Property

Applies To:

Molecule object

Description:

Indicates whether the Molecule object is a reaction.

Syntax:

BOOL/Boolean Molecule.IsReaction

Remarks:

Read-only.

Example:

The following Visual Basic example displays a message box to alert the user when a query target is a reaction instead of a single molecule.
Dim CurrentMolecule As Object  'Molecule

    If (CurrentMolecule.IsReaction) Then      'Test whether CurrentMolecule is a reaction
    MsgBox ("This is a reaction.")               'Do something if the molecule is a reaction

End If

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