Magnesium ion is an effective inhibitor of the binding of Escherichia coli to heparin.