public void RemoveFeature(int OID) { foreach (ISimpleVectorObject obj in _features.Keys) { if (obj.OID == OID) { _datasource.Remove(_features[obj]); _features.Remove(obj); return; } } }