AVEVA CAF API Documenation

The zero-based System.Collections.ArrayList index at which to start copying the elements of c.
The System.Collections.ICollection whose elements to copy to the System.Collections.ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference (Nothing in Visual Basic).
SetRange Method
Copies the elements of a collection over a range of elements in the System.Collections.ArrayList.
Syntax
public override void SetRange( 
   int index,
   ICollection c
)
public:
void SetRange( 
   int index,
   ICollection^ c
) override 

Parameters

index
The zero-based System.Collections.ArrayList index at which to start copying the elements of c.
c
The System.Collections.ICollection whose elements to copy to the System.Collections.ArrayList. The collection itself cannot be a null reference (Nothing in Visual Basic), but it can contain elements that are a null reference (Nothing in Visual Basic).
Exceptions
ExceptionDescription
index is less than zero.-or- index plus the number of elements in c is greater than System.Collections.ArrayList.Count.
c is a null reference (Nothing in Visual Basic).
The System.Collections.ArrayList is read-only.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also