Export (0) Print
Expand All

ListBox.IntegerCollection Members

Represents a collection of integers in a ListBox.

The following tables list the members exposed by the ListBox.IntegerCollection type.

  Name Description
Public method ListBox.IntegerCollection Initializes a new instance of the ListBox.IntegerCollection class.
Top

  Name Description
Public property Count Gets the number of selected items in the ListBox.
Public property Item Gets or sets the Item having the specified index.
Top

(see also Protected Methods )
  Name Description
Public method Add Adds a unique integer to the collection in sorted order.
Public method AddRange Overloaded. Adds a group of integers to the collection.
Public method Clear Removes all integers from the ListBox.IntegerCollection.
Public method Contains Determines whether the specified integer is in the collection.
Public method CopyTo Copies the entire ListBox.IntegerCollection into an existing array of integers at a specified location within the array.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Retrieves the index within the ListBox.IntegerCollection of the specified integer.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Removes the specified integer from the ListBox.IntegerCollection.
Public method RemoveAt Removes the integer at the specified index from the ListBox.IntegerCollection.
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

  Name Description
Explicit interface implementation Method System.Collections.IEnumerable.GetEnumerator Retrieves an enumeration of all the integers in the ListBox.IntegerCollection.
Explicit interface implementation Method System.Collections.IList.Add Adds a tab stop to the collection.
Explicit interface implementation Method System.Collections.IList.Clear Clears all the tab stops from the collection.
Explicit interface implementation Method System.Collections.IList.Contains Determines whether the specified tab stop is in the collection.
Explicit interface implementation Method System.Collections.IList.IndexOf Returns the index of the specified tab stop in the collection.
Explicit interface implementation Method System.Collections.IList.Insert Inserts an item into the collection at a specified index.
Explicit interface implementation Method System.Collections.IList.Remove Removes the first occurrence of an item from the collection.
Explicit interface implementation Method System.Collections.IList.RemoveAt Removes the item at a specified index.
Explicit interface implementation Property System.Collections.ICollection.IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Explicit interface implementation Property System.Collections.ICollection.SyncRoot Gets an object that can be used to synchronize access to the collection of controls.
Explicit interface implementation Property System.Collections.IList.IsFixedSize Gets a value indicating whether the collection has a fixed size.
Explicit interface implementation Property System.Collections.IList.IsReadOnly Gets a value indicating whether the collection is read-only.
Explicit interface implementation Property System.Collections.IList.Item Gets or sets the tab stop at the specified index.
Top

Community Additions

ADD
Show:
© 2014 Microsoft