CepObjectReadOnlyDictionary<T>.ICollection<KeyValuePair<String, T>>.Remove Method
Removes the specified item from a collection of metadata objects.
Namespace: Microsoft.ComplexEventProcessing
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
'Declaration
Private Function Remove ( _
item As KeyValuePair(Of String, T) _
) As Boolean Implements ICollection(Of KeyValuePair(Of String, T)).Remove
'Usage
Dim instance As CepObjectReadOnlyDictionary
Dim item As KeyValuePair(Of String, T)
Dim returnValue As Boolean
returnValue = CType(instance, ICollection(Of KeyValuePair(Of String, T))).Remove(item)
bool ICollection<KeyValuePair<string, T>>.Remove(
KeyValuePair<string, T> item
)
private:
virtual bool Remove(
KeyValuePair<String^, T> item
) sealed = ICollection<KeyValuePair<String^, T>>::Remove
private abstract Remove :
item:KeyValuePair<string, 'T> -> bool
private override Remove :
item:KeyValuePair<string, 'T> -> bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<String, T>
The item to be removed.
Return Value
Type: System.Boolean
true if the element is successfully found and removed; otherwise, false.