CopyOnWriteArrayList.AddAllAbsent(ICollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends all of the elements in the specified collection that are not already contained in this list, to the end of this list, in the order that they are returned by the specified collection's iterator.
[Android.Runtime.Register("addAllAbsent", "(Ljava/util/Collection;)I", "GetAddAllAbsent_Ljava_util_Collection_Handler")]
public virtual int AddAllAbsent (System.Collections.ICollection c);
[<Android.Runtime.Register("addAllAbsent", "(Ljava/util/Collection;)I", "GetAddAllAbsent_Ljava_util_Collection_Handler")>]
abstract member AddAllAbsent : System.Collections.ICollection -> int
override this.AddAllAbsent : System.Collections.ICollection -> int
Parameters
collection containing elements to be added to this list
Returns
the number of elements added
- Attributes
Remarks
Appends all of the elements in the specified collection that are not already contained in this list, to the end of this list, in the order that they are returned by the specified collection's iterator.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.