public static void delspotui() { SelectionSet.Contents.Where(x => SelectionSet.FindLayer(x).Name == _spotLayer.LayerData.Name).ForEach(x => _spotLayer.RemoveFeature(x)); }