This documentation is archived and is not being maintained.
AutoCompleteStringCollection Class
Visual Studio 2010
Contains a collection of strings to use for the auto-complete feature on certain Windows Forms controls.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The AutoCompleteStringCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | AutoCompleteStringCollection | Initializes a new instance of the AutoCompleteStringCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of items in the AutoCompleteStringCollection . |
![]() | IsReadOnly | Gets a value indicating whether the contents of the collection are read-only. |
![]() | IsSynchronized | Gets a value indicating whether access to the AutoCompleteStringCollection is synchronized (thread safe). |
![]() | Item | Gets or sets the element at the specified index. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the AutoCompleteStringCollection. |
| Name | Description | |
|---|---|---|
![]() | Add | Inserts a new String into the collection. |
![]() | AddRange | Adds the elements of a String collection to the end. |
![]() | Clear | Removes all strings from the collection. |
![]() | Contains | Indicates whether the String exists within the collection. |
![]() | CopyTo | Copies an array of String objects into the collection, starting at the specified position. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the AutoCompleteStringCollection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Obtains the position of the specified string within the collection. |
![]() | Insert | Inserts the string into a specific index in the collection. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnCollectionChanged | Raises the CollectionChanged event. |
![]() | Remove | Removes a string from the collection. |
![]() | RemoveAt | Removes the string at the specified index. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | Copies the strings of the collection to an Array, starting at a particular Array index. For a description of this member, see ICollection::CopyTo. |
![]() ![]() | IList::Add | Adds a string to the collection. For a description of this member, see IList::Add. |
![]() ![]() | IList::Contains | Determines where the collection contains a specified string. For a description of this member, see IList::Contains. |
![]() ![]() | IList::IndexOf | Determines the index of a specified string in the collection. For a description of this member, see IList::IndexOf. |
![]() ![]() | IList::Insert | Inserts an item to the collection at the specified index. For a description of this member, see IList::Insert. |
![]() ![]() | IList::IsFixedSize | Gets a value indicating whether the collection has a fixed size. For a description of this member, see IList::IsFixedSize. |
![]() ![]() | IList::IsReadOnly | Gets a value indicating whether the collection is read-only. For a description of this member, see IList::IsReadOnly. |
![]() ![]() | IList::Item | Gets the element at a specified index. For a description of this member, see IList::Item. |
![]() ![]() | IList::Remove | Removes the first occurrence of a specific string from the collection. For a description of this member, see IList::Remove. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:

