CollectionUtilsAdd Method (ICollection, Object) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Adds a new element to the specified collection.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic static bool Add(
ICollection target,
Object obj
)
Parameters
- target
- Type: System.CollectionsICollection
Collection where the new element will be added.
- obj
- Type: SystemObject
Object to add.
Return Value
Type:
Booleantrue if the element was added,
false otherwise.
ExceptionsException | Condition |
---|
NotSupportedException |
If target is a fixed-size collection, or if
its type is an unknown collection type.
|
Remarks
See Also