This documentation is archived and is not being maintained.
ListBox::IntegerCollection Class
Visual Studio 2010
Represents a collection of integers in a ListBox.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The ListBox::IntegerCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ListBox::IntegerCollection | Initializes a new instance of the ListBox::IntegerCollection class. |
| Name | Description | |
|---|---|---|
![]() | Add | Adds a unique integer to the collection in sorted order. |
![]() | AddRange(array<Int32>) | Adds an array of integers to the collection. |
![]() | AddRange(ListBox::IntegerCollection) | Adds the contents of an existing ListBox::IntegerCollection to another collection. |
![]() | Clear | Removes all integers from the ListBox::IntegerCollection. |
![]() | Contains | Determines whether the specified integer is in the collection. |
![]() | CopyTo | 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | 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 | Retrieves the index within the ListBox::IntegerCollection of the specified integer. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the specified integer from the ListBox::IntegerCollection. |
![]() | RemoveAt | Removes the integer at the specified index from the ListBox::IntegerCollection. |
![]() | 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::IsSynchronized | Infrastructure. Gets a value indicating whether access to the collection is synchronized (thread safe). |
![]() ![]() | ICollection::SyncRoot | Infrastructure. Gets an object that can be used to synchronize access to the collection of controls. |
![]() ![]() | IEnumerable::GetEnumerator | Retrieves an enumeration of all the integers in the ListBox::IntegerCollection. |
![]() ![]() | IList::Add | Infrastructure. Adds a tab stop to the collection. |
![]() ![]() | IList::Clear | Infrastructure. Clears all the tab stops from the collection. |
![]() ![]() | IList::Contains | Infrastructure. Determines whether the specified tab stop is in the collection. |
![]() ![]() | IList::IndexOf | Infrastructure. Returns the index of the specified tab stop in the collection. |
![]() ![]() | IList::Insert | Inserts an item into the collection at a specified index. |
![]() ![]() | IList::IsFixedSize | Infrastructure. Gets a value indicating whether the collection has a fixed size. |
![]() ![]() | IList::IsReadOnly | Gets a value indicating whether the collection is read-only. |
![]() ![]() | IList::Item | Infrastructure. Gets or sets the tab stop at the specified index. |
![]() ![]() | IList::Remove | Removes the first occurrence of an item from the collection. |
![]() ![]() | IList::RemoveAt | Removes the item at a specified index. |
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.
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:

