## KeyedCollection::Remove method


Removes key from container.

```cpp
bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Remove(TKey key)
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | TKey | Key to remove. |

### ReturnValue

True if key is found and removed, false otherwise.

## See Also

* Class [KeyedCollection](../)
* Namespace [System::Collections::ObjectModel](../../)
* Library [Aspose.PDF for C++](../../../)
