Click or drag to resize

CollectionUtilsRemove Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Removes an element from the specified collection.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static bool Remove(
	ICollection col,
	Object obj
)

Parameters

col
Type: System.CollectionsICollection
Collection from which the element should be removed.
obj
Type: SystemObject
Object to remove.

Return Value

Type: Boolean
true if the element was removed, false otherwise.
Remarks
This method allows us to remove element from any collection type from the System.Collections namespace in a uniform manner, thus hiding differences in the API between IList implementations and classes such as Queue and Stack. When collection is IDictionary object should be DictionaryEntry.
See Also