| UnorderedKeyedMultiCollectionTKey, TItemRemove(TItem) Method |
This is preliminary documentation and is subject to change.
Removes the first occurrence of a specific object from the ICollectionT.
Namespace: WikiClientLibrary.Wikibase.InfrastructuresAssembly: WikiClientLibrary.Wikibase (in WikiClientLibrary.Wikibase.dll) Version: 0.8.0+bba8b7a48c3412988f4331f41f4164c670d73663
Syntax public virtual bool Remove(
TItem item
)
Public Overridable Function Remove (
item As TItem
) As Boolean
Dim instance As UnorderedKeyedMultiCollection
Dim item As TItem
Dim returnValue As Boolean
returnValue = instance.Remove(item)
public:
virtual bool Remove(
TItem item
)
abstract Remove :
item : 'TItem -> bool
override Remove :
item : 'TItem -> bool
Parameters
- item TItem
- The object to remove from the ICollectionT.
Return Value
Boolean if
item was successfully removed from the
ICollectionT; otherwise,
. This method also returns
if
item is not found in the original
ICollectionT.
Implements
ICollectionTRemove(T)Exceptions Exception | Condition |
---|
NotSupportedException | The ICollectionT is read-only. |
See Also