Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
SimpleElement..::.SimpleElementList..::.InsertRange Method
SimpleElement..::.SimpleElementList Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Inserts the elements of a collection into the ArrayList at the specified index.

Namespace: Tangosol.Run.Xml
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public override void InsertRange(
    	int index,
    	ICollection c
    )

#### Parameters

index
  Type: System..::.Int32
  The zero-based index at which the new elements should be inserted.

c
  Type: System.Collections..::.ICollection
  The ICollection whose elements should be inserted into the ArrayList. The collection itself cannot be null, but it can contain elements that are null.

# Exceptions

Exception | Condition
--- | ---
System..::.ArgumentNullException | Collection is null.
System..::.ArgumentOutOfRangeException | Index is less than zero or greater than Count.
System..::.InvalidOperationException | Parent SimpleElement is not mutable.

# See Also

SimpleElement..::.SimpleElementList Class
Tangosol.Run.Xml Namespace