setItem Method

Summary

Replaces the item at the specified index.

Syntax

JavaScript Syntax
LeadCollection.prototype.setItem = function( 
   index, 
   item 
) 
TypeScript Syntax
setItem( 
   index: number, 
   item: any 
): void; // protected 

Parameters

index

The 0-based index of the item to replace.

item

The new value of the item.

Remarks

This method raises the CollectionChanged event with Replace action.

Notes to Inheritors

Derived classes can override this method to change the behavior of the Set method.

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