ListBox.IntegerCollection 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.
Represents a collection of integers in a ListBox.
public: ref class ListBox::IntegerCollection : System::Collections::IList
public class ListBox.IntegerCollection : System.Collections.IList
type ListBox.IntegerCollection = class
interface IList
interface ICollection
interface IEnumerable
Public Class ListBox.IntegerCollection
Implements IList
- Inheritance
-
ListBox.IntegerCollection
- Implements
ListBox.IntegerCollection is a sorted collection to which items are appended by using the Add and AddRange methods. Duplicate values are removed.
The ListBox.IntegerCollection is used mainly by the CustomTabOffsets property.
List |
Initializes a new instance of the ListBox.IntegerCollection class. |
Count |
Gets the number of selected items in the ListBox. |
Item[Int32] |
Gets or sets the element at the specified index. |
Add(Int32) |
Adds a unique integer to the collection in sorted order. |
Add |
Adds an array of integers to the collection. |
Add |
Adds the contents of an existing ListBox.IntegerCollection to another collection. |
Clear() |
Removes all integers from the ListBox.IntegerCollection. |
Contains(Int32) |
Determines whether the specified integer is in the collection. |
Copy |
Copies the entire ListBox.IntegerCollection into an existing array of integers at a specified location within the array. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Retrieves the index within the ListBox.IntegerCollection of the specified integer. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(Int32) |
Removes the specified integer from the ListBox.IntegerCollection. |
Remove |
Removes the integer at the specified index from the ListBox.IntegerCollection. |
To |
Returns a string that represents the current object. (Inherited from Object) |
ICollection. |
Gets a value indicating whether access to the collection is synchronized (thread safe). |
ICollection. |
Gets an object that can be used to synchronize access to the collection of controls. |
IEnumerable. |
Retrieves an enumeration of all the integers in the ListBox.IntegerCollection. |
IList. |
Adds a tab stop to the collection. |
IList. |
Clears all the tab stops from the collection. |
IList. |
Determines whether the specified tab stop is in the collection. |
IList. |
Returns the index of the specified tab stop in the collection. |
IList. |
Inserts an item into the collection at a specified index. |
IList. |
Gets a value indicating whether the collection has a fixed size. |
IList. |
Gets a value indicating whether the collection is read-only. |
IList. |
Gets or sets the tab stop at the specified index. |
IList. |
Removes the first occurrence of an item from the collection. |
IList. |
Removes the item at a specified index. |
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. |
Produto | Versões |
---|---|
.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 |
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: