Share via


ViaCollection.InsertRange Method

Inserts a collection of elements into the collection, starting at a specified position.

Namespace: Microsoft.Web.Services3.Referral
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim index As Integer
Dim collection As ViaCollection
Dim viaCollection1 As ViaCollection
viaCollection1.InsertRange(index, collection)

Syntax

'Declaration
Public Sub InsertRange( _
    ByVal index As Integer, _
    ByVal collection As ViaCollection _
)
public void InsertRange(
    int index, 
    ViaCollection collection
);
public:
void InsertRange(
    int index,
    ViaCollection^ collection
);
public void InsertRange(
    int index, 
    ViaCollection collection
);
public function InsertRange(
     index : int, 
     collection : ViaCollection
) : Void;

Parameters

  • index
    The zero-based index at which the new elements should be inserted.
  • collection
    A ViaCollection to insert into the current collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

ViaCollection Class
ViaCollection Members
Microsoft.Web.Services3.Referral Namespace