System.Windows.Forms.AutoCompleteStringCollection: Method Members

The methods of System.Windows.Forms.AutoCompleteStringCollection are listed below. For a list of all members, see the AutoCompleteStringCollection Members list.

See Also: Inherited members from System.Object

Public Methods

Add(string) : int

Inserts a new string into the collection.

AddRange(string[])

Adds the elements of a string collection to the end.

Clear()

Removes all strings from the collection.

Contains(string) : bool

Indicates whether the string exists within the collection.

CopyTo(string[], int)

Copies an array of string objects into the collection, starting at the specified position.

GetEnumerator() : IEnumerator

Returns an enumerator that iterates through the System.Windows.Forms.AutoCompleteStringCollection.

IndexOf(string) : int

Obtains the position of the specified string within the collection.

Insert(int, string)

Inserts the string into a specific index in the collection.

Remove(string)

Removes a string from the collection.

RemoveAt(int)

Removes the string at the specified index.

Protected Methods