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

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