Compartir a través de


ControlCollection Class

Definition

Represents the control collection class.

public ref class ControlCollection : System::Collections::Generic::ICollection<Microsoft::Uii::Common::ControlElement ^>, System::Collections::Generic::IEnumerable<Microsoft::Uii::Common::ControlElement ^>, System::Collections::Generic::IList<Microsoft::Uii::Common::ControlElement ^>
public class ControlCollection : System.Collections.Generic.ICollection<Microsoft.Uii.Common.ControlElement>, System.Collections.Generic.IEnumerable<Microsoft.Uii.Common.ControlElement>, System.Collections.Generic.IList<Microsoft.Uii.Common.ControlElement>
type ControlCollection = class
    interface IList<ControlElement>
    interface ICollection<ControlElement>
    interface seq<ControlElement>
    interface IEnumerable
Public Class ControlCollection
Implements ICollection(Of ControlElement), IEnumerable(Of ControlElement), IList(Of ControlElement)
Inheritance
ControlCollection
Implements

Constructors

ControlCollection(AdapterAppInitString, XmlElement)

Initializes a new instance of the ControlCollection class.

Properties

Count

Gets the number of elements contained in the collection.

IsReadOnly

Gets a value that specifies whether the collection is read-only.

Item[Int32]

Gets or sets the control element at the specified index.

Item[String]

Gets the control element with the specified name.

Methods

Add(ControlElement)

Adds an item to the ICollection<T>.

Clear()

Removes all items from the collection.

Contains(ControlElement)

Determines whether the collection contains a specific value.

Contains(String)

Determines whether the collection contains the specified name.

CopyTo(ControlElement[], Int32)

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

GetEnumerator()

Gets an enumerator that iterates through the collection.

IndexOf(ControlElement)

Determines the index of a specific item in the IList<T>.

Insert(Int32, ControlElement)

Inserts an item to the IList<T> at the specified index.

Refresh()

Refreshes this instance.

Remove(ControlElement)

Removes the first occurrence of a specific object from the ICollection<T>.

RemoveAt(Int32)

Removes the IList<T> item at the specified index.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Applies to