AutoCompleteStringCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a collection of strings to use for the auto-complete feature on certain Windows Forms controls.
public ref class AutoCompleteStringCollection : System::Collections::IList
public class AutoCompleteStringCollection : System.Collections.IList
type AutoCompleteStringCollection = class
interface IList
interface ICollection
interface IEnumerable
Public Class AutoCompleteStringCollection
Implements IList
- Inheritance
-
AutoCompleteStringCollection
- Implements
Auto |
Initializes a new instance of the AutoCompleteStringCollection class. |
Count |
Gets the number of items in the AutoCompleteStringCollection . |
Is |
Gets a value indicating whether the contents of the collection are read-only. |
Is |
Gets a value indicating whether access to the AutoCompleteStringCollection is synchronized (thread safe). |
Item[Int32] |
Gets or sets the element at the specified index. |
Sync |
Gets an object that can be used to synchronize access to the AutoCompleteStringCollection. |
Add(String) |
Inserts a new String into the collection. |
Add |
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. |
Copy |
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) |
Get |
Returns an enumerator that iterates through the AutoCompleteStringCollection. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Obtains the position of the specified string within the collection. |
Insert(Int32, String) |
Inserts the string into a specific index in the collection. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
On |
Raises the CollectionChanged event. |
Remove(String) |
Removes a string from the collection. |
Remove |
Removes the string at the specified index. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Collection |
Occurs when the collection changes. |
ICollection. |
Copies the strings of the collection to an Array, starting at a particular Array index. For a description of this member, see CopyTo(Array, Int32). |
IList. |
Adds a string to the collection. For a description of this member, see Add(Object). |
IList. |
Determines where the collection contains a specified string. For a description of this member, see Contains(Object). |
IList. |
Determines the index of a specified string in the collection. For a description of this member, see IndexOf(Object). |
IList. |
Inserts an item to the collection at the specified index. For a description of this member, see Insert(Int32, Object). |
IList. |
Gets a value indicating whether the collection has a fixed size. For a description of this member, see IsFixedSize. |
IList. |
Gets a value indicating whether the collection is read-only. For a description of this member, see IsReadOnly. |
IList. |
Gets the element at a specified index. For a description of this member, see Item[Int32]. |
IList. |
Removes the first occurrence of a specific string from the collection. For a description of this member, see Remove(Object). |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: