Skybound AutoComplete

AutoComplete.ObjectCollection Class

Represents the collection of items in an AutoComplete.

For a list of all members of this type, see AutoComplete.ObjectCollection Members.

System.Object
   Skybound.AutoComplete.AutoComplete.ObjectCollection

[Visual Basic]
Public Class AutoComplete.ObjectCollection
    Implements IList, ICollection, IEnumerable
[C#]
public class AutoComplete.ObjectCollection : IList, ICollection, IEnumerable

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

The AutoComplete.ObjectCollection class encapsulates the items in the AutoComplete. The object collection of an AutoComplete can be used to manage many types of objects, including strings, images, and custom business objects.

You can add items to the collection in several ways. The Add method adds one object to the collection. To add a number of objects to the collection, it is best to create an array of items and assign with the AddRange method. To insert an object at a specific location within the collection, you can use the Insert method. To remove items at a known index in the collection you can use either the Remove method or the RemoveAt method. The Clear method removes all the items from the collection.

In addition to methods and properties for adding and removing items, the AutoComplete.ObjectCollection class also provides methods to find items within the collection. The Contains method enables you to determine if an object is a member of the collection. Once you know that the item is located within the collection, you can use the IndexOf method to determine where the item is located within the collection.

Requirements

Namespace: Skybound.AutoComplete

Assembly: Skybound.AutoComplete (in Skybound.AutoComplete.dll)

See Also

AutoComplete.ObjectCollection Members | Skybound.AutoComplete Namespace