UIElementCollection Members

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

Public Constructors

Name Description
Public Method UIElementCollection Initializes a new instance of the UIElementCollection class.

Public Properties

Name Description
Public Property Capacity Gets or sets the maximum number of elements that the current collection can contain.
Public Property Count Gets the actual number of elements in the current collection.
Public Property IsSynchronized Gets a value that indicates whether access to the ICollection interface is synchronized (that is, thread-safe).
Public Property Item Gets or sets the element that is stored at a specified index number (position) in the current collection.
Public Property SyncRoot Gets an object that you can use to synchronize access to the ICollection interface.

Public Methods

Name Description
Public Method Add Adds a specified element to the current collection at a specified index number (position).
Public Method Clear Removes all elements from the current collection.
Public Method Contains Determines whether the current collection contains a specified element.
Public Method CopyTo Overloaded. Copies the UIElement objects from the current collection to an array, starting at a specified index number (position) in the collection.
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method IndexOf Returns the index number (position) of a specified element in the current collection.
Public Method Insert Inserts a specified element into the current collection at a specified index number (position).
Public Method ReferenceEquals (Inherited from Object.)
Public Method Remove Removes a specified element from the current collection.
Public Method RemoveAt Removes from the current collection the element at the specified index number (position) in the collection.
Public Method RemoveRange Removes from the current collection a range of elements starting at a specified index number (position) in the collection.
Public Method ToString (Inherited from Object.)

Protected Methods

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

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.Collections.IEnumerable.GetEnumerator Retrieves an enumerator that can be used to iterate through the current collection.

See Also

Reference

UIElementCollection Class
Microsoft.SPOT.Presentation Namespace