NameScope::Remove Method (KeyValuePair<String^, Object^>)
.NET Framework (current version)
Removes the specific object from the collection.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- item
-
Type:
System.Collections.Generic::KeyValuePair<String^, Object^>
The object to remove from the collection, specified as a KeyValuePair<TKey, TValue> (key is String, value is Object).
Return Value
Type: System::Booleantrue if item was successfully removed from the collection, otherwise false. Also returns false if the item was not found in the collection.
Implements
ICollection<T>::Remove(T)Because NameScope is a dictionary there is no concept of first occurrence; any given KeyValuePair<TKey, TValue> is guaranteed unique.
.NET Framework
Available since 4.0
Available since 4.0
Show: