Share via


ListBoxItemCollection Members

The following tables list the members exposed by the ListBoxItemCollection type.

Public Constructors

Name Description
Public Method ListBoxItemCollection Initializes an instance of the ListBoxItemCollection class.

Public Properties

Name Description
Public Property Count Gets the number of items (elements) in the current collection.
Public Property IsSynchronized Gets a value that indicates whether access to the current collection is presently synchronized.
Public Property Item Gets or sets a specified item (element) in the current collection.
Public Property SyncRoot Gets an object that can be used to synchronize access to the current collection.

Public Methods

Name Description
Public Method Add Overloaded. Adds an item (element) to the current collection.
Public Method Clear Empties the current collection.
Public Method Contains Determines whether a specified item (element) is contained in the current collection.
Public Method CopyTo Copies all or part of the current collection into a specified array.
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Retrieves an enumerator that can be used to iterate through the current collection.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method IndexOf Retrieves the index number of a specified item (element) if that item is found in the current collection.
Public Method Insert Inserts an item (element) into the current collection.
Public Method ReferenceEquals (Inherited from Object.)
Public Method Remove Removes a specified item from the current collection.
Public Method RemoveAt Removes the item (element) at a specified index number in the current collection.
Public Method ToString (Inherited from Object.)

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

ListBoxItemCollection Class
Microsoft.SPOT.Presentation.Controls Namespace