Syntax dictionaryobj.Remove(key) The Remove() method removes the key, item pair. If no match is found, an error is returned. Nothing is returned from this method.