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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.