insertItemRange Method

Summary

Inserts an array of items into the LeadCollection at the specified index.

Syntax

JavaScript Syntax
LeadCollection.prototype.insertItemRange = function( 
   index, 
   items 
) 
TypeScript Syntax
insertItemRange( 
   index: number, 
   items: any[] 
): void; // protected 

Parameters

index

The 0-based index at which items should be inserted.

items

An array of items to insert. Items may be null.

Remarks

InsertItemRange is meant to be overridden in a derived class. For a public method to insert items into the LeadCollection, see InsertRange.

LeadCollection accepts null as a valid value and allows duplicate items.

If index is equal to Count, items are added to the end of the LeadCollection.

This method raises the CollectionChanged event with the Add action.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly