AutoCompleteStringCollection.IList.Add Method (Object)


Adds a string to the collection. For a description of this member, see IList.Add.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

int IList.Add(
	object value


Type: System.Object

The string to be added to the collection

Return Value

Type: System.Int32

The index at which the value has been added.

This member is an explicit interface member implementation. It can be used only when the AutoCompleteStringCollection instance is cast to an IList interface.

.NET Framework
Available since 2.0
Return to top