AutoCompleteStringCollection Klasa
Definicja
Zawiera kolekcję ciągów, które mają być używane dla funkcji autouzupełniania na niektórych Windows Forms kontrolkach.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
- Dziedziczenie
-
AutoCompleteStringCollection
- Implementuje
Konstruktory
AutoCompleteStringCollection() |
Inicjuje nowe wystąpienie klasy AutoCompleteStringCollection.Initializes a new instance of the AutoCompleteStringCollection class. |
Właściwości
Count |
Pobiera liczbę elementów w AutoCompleteStringCollection .Gets the number of items in the AutoCompleteStringCollection . |
IsReadOnly |
Pobiera wartość wskazującą, czy zawartość kolekcji jest tylko do odczytu.Gets a value indicating whether the contents of the collection are read-only. |
IsSynchronized |
Pobiera wartość wskazującą, czy dostęp do elementu AutoCompleteStringCollection jest synchronizowany (bezpieczny wątkowo).Gets a value indicating whether access to the AutoCompleteStringCollection is synchronized (thread safe). |
Item[Int32] |
Pobiera lub ustawia element pod określonym indeksem.Gets or sets the element at the specified index. |
SyncRoot |
Pobiera obiekt, który może służyć do synchronizowania dostępu do AutoCompleteStringCollection .Gets an object that can be used to synchronize access to the AutoCompleteStringCollection. |
Metody
Add(String) |
Wstawia nowy String do kolekcji.Inserts a new String into the collection. |
AddRange(String[]) |
Dodaje elementy String kolekcji na końcu.Adds the elements of a String collection to the end. |
Clear() |
Usuwa wszystkie ciągi z kolekcji.Removes all strings from the collection. |
Contains(String) |
Wskazuje, czy String istnieje w kolekcji.Indicates whether the String exists within the collection. |
CopyTo(String[], Int32) |
Kopiuje tablicę String obiektów do kolekcji, zaczynając od określonej pozycji.Copies an array of String objects into the collection, starting at the specified position. |
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetEnumerator() |
Zwraca moduł wyliczający, który wykonuje iterację przez AutoCompleteStringCollection .Returns an enumerator that iterates through the AutoCompleteStringCollection. |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
IndexOf(String) |
Uzyskuje pozycję określonego ciągu w kolekcji.Obtains the position of the specified string within the collection. |
Insert(Int32, String) |
Wstawia ciąg do określonego indeksu w kolekcji.Inserts the string into a specific index in the collection. |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
OnCollectionChanged(CollectionChangeEventArgs) |
Podnosi CollectionChanged zdarzenie.Raises the CollectionChanged event. |
Remove(String) |
Usuwa ciąg z kolekcji.Removes a string from the collection. |
RemoveAt(Int32) |
Usuwa ciąg o określonym indeksie.Removes the string at the specified index. |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |
Zdarzenia
CollectionChanged |
Występuje po zmianie kolekcji.Occurs when the collection changes. |
Jawne implementacje interfejsu
ICollection.CopyTo(Array, Int32) |
Kopiuje ciągi kolekcji do Array , rozpoczynając od określonego Array indeksu.Copies the strings of the collection to an Array, starting at a particular Array index. Aby uzyskać opis tego elementu członkowskiego, zobacz CopyTo(Array, Int32) .For a description of this member, see CopyTo(Array, Int32). |
IList.Add(Object) |
Dodaje ciąg do kolekcji.Adds a string to the collection. Aby uzyskać opis tego elementu członkowskiego, zobacz Add(Object) .For a description of this member, see Add(Object). |
IList.Contains(Object) |
Określa, gdzie kolekcja zawiera określony ciąg.Determines where the collection contains a specified string. Aby uzyskać opis tego elementu członkowskiego, zobacz Contains(Object) .For a description of this member, see Contains(Object). |
IList.IndexOf(Object) |
Określa indeks określonego ciągu w kolekcji.Determines the index of a specified string in the collection. Aby uzyskać opis tego elementu członkowskiego, zobacz IndexOf(Object) .For a description of this member, see IndexOf(Object). |
IList.Insert(Int32, Object) |
Wstawia element do kolekcji o określonym indeksie.Inserts an item to the collection at the specified index. Aby uzyskać opis tego elementu członkowskiego, zobacz Insert(Int32, Object) .For a description of this member, see Insert(Int32, Object). |
IList.IsFixedSize |
Pobiera wartość wskazującą, czy kolekcja ma stały rozmiar.Gets a value indicating whether the collection has a fixed size. Aby uzyskać opis tego elementu członkowskiego, zobacz IsFixedSize .For a description of this member, see IsFixedSize. |
IList.IsReadOnly |
Pobiera wartość wskazującą, czy kolekcja jest przeznaczona tylko do odczytu.Gets a value indicating whether the collection is read-only. Aby uzyskać opis tego elementu członkowskiego, zobacz IsReadOnly .For a description of this member, see IsReadOnly. |
IList.Item[Int32] |
Pobiera element pod określonym indeksem.Gets the element at a specified index. Aby uzyskać opis tego elementu członkowskiego, zobacz Item[Int32] .For a description of this member, see Item[Int32]. |
IList.Remove(Object) |
Usuwa pierwsze wystąpienie określonego ciągu z kolekcji.Removes the first occurrence of a specific string from the collection. Aby uzyskać opis tego elementu członkowskiego, zobacz Remove(Object) .For a description of this member, see Remove(Object). |
Metody rozszerzania
Cast<TResult>(IEnumerable) |
Rzutuje elementy elementu IEnumerable do określonego typu.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje elementy IEnumerable w oparciu o określony typ.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Włącza przetwarzanie równoległe zapytania.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Konwertuje IEnumerable do IQueryable .Converts an IEnumerable to an IQueryable. |