ListBoxItemCollection Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Contains a group of ListBoxItem objects.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.SPOT.Presentation.Controls..::..ListBoxItemCollection
Namespace: Microsoft.SPOT.Presentation.Controls
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Class ListBoxItemCollection _
Implements ICollection, IEnumerable
public class ListBoxItemCollection : ICollection,
IEnumerable
public ref class ListBoxItemCollection : ICollection,
IEnumerable
type ListBoxItemCollection =
class
interface ICollection
interface IEnumerable
end
public class ListBoxItemCollection implements ICollection, IEnumerable
The ListBoxItemCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ListBoxItemCollection | Initializes a new instance of the ListBoxItemCollection class. |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items (elements) in the current collection. | |
IsSynchronized | Gets a value that indicates whether access to the current collection is presently synchronized. | |
Item | Gets or sets a specified item (element) in the current collection. | |
SyncRoot | Gets an object that can be used to synchronize access to the current collection. |
Top
Methods
Name | Description | |
---|---|---|
Add(ListBoxItem) | Adds a list box item (element) to the current collection. | |
Add(UIElement) | Adds a user interface item (element) to the current collection. | |
Clear | Empties the current collection. | |
Contains | Determines whether a specified item (element) is contained in the current collection. | |
CopyTo | Copies all or part of the current collection into a specified 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.) | |
GetEnumerator | Retrieves an enumerator that can be used to iterate through the current collection. | |
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 number of a specified item (element) if that item is found in the current collection. | |
Insert | Inserts an item (element) into the current collection. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes a specified item from the current collection. | |
RemoveAt | Removes the item (element) at a specified index number in the current collection. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.