setItem Method

Summary

Replaces the item at the specified index.

Syntax
TypeScript
JavaScript
LeadCollection.prototype.setItem = function( 
   index, 
   item 
) 
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 20.0.2019.10.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly