AutoCompleteStringCollection Class
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)
| 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[Int32] | 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(String^) | Inserts a new String into the collection. |
![]() | AddRange(array<String^>^) | Adds the elements of a String collection to the end. |
![]() | Clear() | Removes all strings from the collection. |
![]() | Contains(String^) | Indicates whether the String exists within the collection. |
![]() | CopyTo(array<String^>^, Int32) | 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IndexOf(String^) | Obtains the position of the specified string within the collection. |
![]() | Insert(Int32, String^) | Inserts the string into a specific index in the collection. |
![]() | MemberwiseClone() | |
![]() | OnCollectionChanged(CollectionChangeEventArgs^) | Raises the CollectionChanged event. |
![]() | Remove(String^) | Removes a string from the collection. |
![]() | RemoveAt(Int32) | Removes the string at the specified index. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | CollectionChanged | Occurs when the collection changes. |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | 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(Object^) | Adds a string to the collection. For a description of this member, see IList::Add. |
![]() ![]() | IList::Contains(Object^) | Determines where the collection contains a specified string. For a description of this member, see IList::Contains. |
![]() ![]() | IList::IndexOf(Object^) | Determines the index of a specified string in the collection. For a description of this member, see IList::IndexOf. |
![]() ![]() | IList::Insert(Int32, Object^) | Inserts an item to the collection at the specified index. For a description of this member, see IList::Insert. |
![]() ![]() | IList::Remove(Object^) | Removes the first occurrence of a specific string from the collection. For a description of this member, see IList::Remove. |
![]() ![]() | 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[Int32] | Gets the element at a specified index. For a description of this member, see IList::Item. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. 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.) |
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.






