List Class

Entisoft Tools 2.0 Object Library
Version 2.1 Build 208
<-- Previous || Index || Main || Topics || Next -->

Declarations Section, Compare Property, Count Property, Name Property, Tag Property, Value Property, Add Sub, AddOrUpdate Sub, Lookup Function, Remove Function, RemoveAll Sub, RemoveByNumber Function, Update Function

Declarations Section
Compare Property
Get the current value of the Compare property. Specifies the type of comparisons used to determine if String Values match. Set the current value of the Compare property.
Count Property
Return the number of Values currently stored in the List.
Name Property
Assign a Name to this List. Return the Name of this List when the Name is not an Object. Return the Name of this List when the Name is an Object.
Tag Property
Assign a Tag to this List. The Tag can be any type of Data. Return the Tag of this List when the Tag is not an Object. Return the Tag of this List when the Tag is an Object.
Value Property
Get the Value of a specific numbered item within the List. Change the Value of a specific numbered item within the List. Change the Value of a specific numbered item within the List.
Add Sub
Add a new Value to the List, even if the Value is not unique.
Add Or Update Sub
Add a new Value to the List unless it already exists.
Lookup Function
Return True if the value vValue exists in the List. Function returns False otherwise.
Remove Function
Remove a Value from the List given the Value. Function returns True if the Value was found and removed. Function returns False otherwise.
Remove All Sub
Remove all of the Values from the List and reinitialize it.
Remove By Number Function
Remove a Value from the List given its position within the List. Function returns True if the position number was valid and the Value was removed. Function returns False otherwise.
Update Function
Change one of the Values in the List. Change one or all of the copies of a specific Value to some other Value. Function returns True if the Value was found and successfully changed. Function returns False otherwise.

This Windows-based ActiveX DLL provides many useful routines through its function-bearing and data structure classes. Consult the Help file for more information, or call us at 1-310-472-3736. For the latest news and files, visit our home page on the World Wide Web: http://www.entisoft.com

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.