ACR_ServerMisc.ACR_ServerMisc.DictionaryDeleteKey C# (CSharp) Method

DictionaryDeleteKey() private method

Delete value from dictionary by key.
private DictionaryDeleteKey ( string DictID, string Key ) : void
DictID string Supplies the id of the Dictionary to access. ///
Key string Key to search for and delete from the dictionary. ///
return void
        private void DictionaryDeleteKey(string DictID, string Key)
        {
            SortedDictionary<string, string> Dict;

            if (StorageList.TryGetValue(DictID, out Dict) == false)
                return;

            Dict.Remove(Key);
            StorageIteratorList.Remove(Key);
        }