public void Clear() { IPropertyCollection tilesheetProperties = m_tileSheet.Properties; IEnumerable <string> oldIndexedKeys = tilesheetProperties.Keys.Where(x => ParseIndexedKey(x) != null).ToArray(); foreach (string indexedKey in oldIndexedKeys) { tilesheetProperties.Remove(indexedKey); } }
public bool Remove(string key) { IPropertyCollection tilesheetProperties = m_tileSheet.Properties; return(tilesheetProperties.Remove(IndexKey(key)));; }