ControlCollection Members

Represents the control collection class.

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

Public Constructors

  Name Description
  ControlCollection Initializes a new instance of the ControlCollection class.

Top

Public Properties

  Name Description
public property Count Gets the number of elements contained in the collection.
public property IsReadOnly Gets a value that specifies whether the collection is read-only.
public property Item Gets or sets the control element at the specified index.
public property Item Gets the control element with the specified name.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Add Adds an item to the ICollection.
public method Clear Removes all items from the collection.
public method Contains Overloaded.  
public method CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
public method Equals  (inherited from Object)
public method GetEnumerator Gets an enumerator that iterates through the collection.
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method IndexOf Determines the index of a specific item in the IList.
public method Insert Inserts an item to the IList at the specified index.
public method Refresh Refreshes this instance.
public method Remove Removes the first occurrence of a specific object from the ICollection.
public method RemoveAt Removes the IList item at the specified index.
public method ToString  (inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)

Top

Explicit Interface Implementations

  Name Description
  GetEnumerator Returns an enumerator that iterates through a collection.

Top

See Also

Reference

ControlCollection Class
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.