Create a new bond beetween Atom atom1 and atom2 of given order and stereo

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

Syntax

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

Parameters

atom1
Type: System..::.Int32
First Atom index
atom2
Type: System..::.Int32
Second Atom index
order
Type: System..::.Byte
Bond Order
stereo
Type: System..::.Byte
Bond stereo

Return Value

Returns Bond Index in Bonds list

See Also