In This Topic ▼

LeadCollection Class Members

Summary

The following tables list the members exposed by LeadCollection.

Public Constructors

Name Description
Public Constructor static  | Shared in VB LeadCollection Initializes a new empty instance of the LeadCollection class.

Public Methods

Name Description
Public Method add Adds an object to the end of the LeadCollection.
Public Method addRange Adds the array of objects to the end of the LeadCollection.
Public Method clear Removes all items from the LeadCollection.
Public Method clearItems Removes all items from the collection.
Public Method contains Determines whether an item is in the LeadCollection.
Public Method indexOf Searches for the specified object and returns the 0-based index of the first occurrence within the entire LeadCollection.
Public Method insert Inserts an item into the LeadCollection at the specified index.
Public Method insertItem Inserts an item into the LeadCollection at the specified index.
Public Method insertItemRange Inserts an array of items into the LeadCollection at the specified index.
Public Method insertRange Inserts an array of items into the LeadCollection at the specified index.
Public Method move Moves the item at the specified index to a new location in the collection.
Public Method moveItem Moves the item at the specified index to a new location in the collection.
Public Method onCollectionChanged Raises the CollectionChanged event with the provided arguments.
Public Method remove Removes the first occurrence of a specific object from the LeadCollection.
Public Method removeAt Removes the item at the specified index of the LeadCollection.
Public Method removeItem Removes the item at the specified index of the collection.
Public Method removeItemRange Removes the items at the specified index of the collection.
Public Method removeRange Removes the items at the specified index of the collection.
Public Method setItem Replaces the item at the specified index.
Public Method toArray Gets an array of the items in this collection.

Public Properties

Name Description
Public Property count Gets the number of items contained in the LeadCollection.
Public Property item Gets or sets the item at the specified index.

Public Events

Name Description
Public Event static  | Shared in VB collectionChanged Occurs when an item is added, removed, changed, moved, or the entire list is refreshed.

See Also

Reference

LeadCollection Class

Leadtools Namespace

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.