Remove()

KeyedCollection::Remove(TKey) method

Removes key from container.

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Remove(TKey key)

Arguments

ParameterTypeDescription
keyTKeyKey to remove.

Return Value

True if key is found and removed, false otherwise.

See Also