Create a new bond beetween atom1 and atom2 of given order

Namespace:  Hyleos.Chemistry
Assembly:  Hyleos.Chemistry (in Hyleos.Chemistry.dll) Version: 1.0.9.4 (1.0.9.4)

Syntax

C#
public int AddBond(
	Atom atom1,
	Atom atom2,
	byte order
)
Visual Basic (Declaration)
Public Function AddBond ( _
	atom1 As Atom, _
	atom2 As Atom, _
	order As Byte _
) As Integer
Visual C++
public:
int AddBond(
	Atom^ atom1, 
	Atom^ atom2, 
	unsigned char order
)

Parameters

atom1
Type: Hyleos.Chemistry..::.Atom
First Atom
atom2
Type: Hyleos.Chemistry..::.Atom
Second Atom
order
Type: System..::.Byte
Bond Order

Return Value

Returns Bond Index in Bonds list

See Also