﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ControlCollection" FullName="System.Web.UI.ControlCollection"><TypeSignature Language="C#" Maintainer="auto" Value="public class ControlCollection : System.Collections.ICollection" /><AssemblyInfo><AssemblyName>System.Web</AssemblyName><AssemblyPublicKey></AssemblyPublicKey><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Collections.ICollection</InterfaceName></Interface></Interfaces><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>You can access any of the properties and methods of the <see cref="T:System.Web.UI.ControlCollection" /> class through the <see cref="P:System.Web.UI.Control.Controls" /> property. Since the <see cref="T:System.Web.UI.Control" /> class is the base class for all ASP.NET server controls, all server controls inherit this property.</para><para>For more information about collections, see <format type="text/html"><a href="60CC581F-1DB5-445B-BA04-A173396BF872">Collections and Data Structures</a></format>.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Provides a collection container that enables ASP.NET server controls to maintain a list of their child controls.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ControlCollection (System.Web.UI.Control owner);" /><MemberType>Constructor</MemberType><ReturnValue /><Parameters><Parameter Name="owner" Type="System.Web.UI.Control" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Web.UI.ControlCollection" /> class for the specified parent server control.</para></summary><param name="owner"><attribution license="cc4" from="Microsoft" modified="false" />The ASP.NET server control that the control collection is created for. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Add"><MemberSignature Language="C#" Value="public virtual void Add (System.Web.UI.Control child);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="child" Type="System.Web.UI.Control" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The new control is added to the end of an ordinal index array. The control can be an instance of any ASP.NET server control, a custom server control you create, or a literal control.</para><para>To add a control to the collection at a specific index location, use the <see cref="M:System.Web.UI.ControlCollection.AddAt(System.Int32,System.Web.UI.Control)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified <see cref="T:System.Web.UI.Control" /> object to the collection.</para></summary><param name="child"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> to add to the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="AddAt"><MemberSignature Language="C#" Value="public virtual void AddAt (int index, System.Web.UI.Control child);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /><Parameter Name="child" Type="System.Web.UI.Control" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The added control can be an instance of any ASP.NET server control, a custom server control you create, or a literal control.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Adds the specified <see cref="T:System.Web.UI.Control" /> object to the collection at the specified index location.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The location in the array at which to add the child control. </param><param name="child"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.Control" /> to add to the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Clear"><MemberSignature Language="C#" Value="public virtual void Clear ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters /><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this method to empty a custom control's <see cref="T:System.Web.UI.ControlCollection" /> when you override the <see cref="M:System.Web.UI.Control.CreateChildControls" /> and <see cref="M:System.Web.UI.Control.DataBind" /> methods. Do this when you develop composite, templated controls or templated data-bound controls. </para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes all controls from the current server control's <see cref="T:System.Web.UI.ControlCollection" /> object.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Contains"><MemberSignature Language="C#" Value="public virtual bool Contains (System.Web.UI.Control c);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Parameters><Parameter Name="c" Type="System.Web.UI.Control" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Determines whether the specified server control is in the parent server control's <see cref="T:System.Web.UI.ControlCollection" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>true if the specified server control exists in the collection; otherwise, false.</para></returns><param name="c"><attribution license="cc4" from="Microsoft" modified="false" />The server control to search for in the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="CopyTo"><MemberSignature Language="C#" Value="public virtual void CopyTo (Array array, int index);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="array" Type="System.Array" /><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Copies the child controls stored in the <see cref="T:System.Web.UI.ControlCollection" /> object to an <see cref="T:System.Array" /> object, beginning at the specified index location in the <see cref="T:System.Array" />.</para></summary><param name="array"><attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Array" /> to copy the child controls to. </param><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The zero-based relative index in <paramref name="array" /> where copying begins. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Count"><MemberSignature Language="C#" Value="public virtual int Count { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'int'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the number of server controls in the <see cref="T:System.Web.UI.ControlCollection" /> object for the specified ASP.NET server control.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="GetEnumerator"><MemberSignature Language="C#" Value="public virtual System.Collections.IEnumerator GetEnumerator ();" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Collections.IEnumerator</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Retrieves an enumerator that can iterate through the <see cref="T:System.Web.UI.ControlCollection" /> object.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The enumerator to iterate through the collection.</para></returns></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IndexOf"><MemberSignature Language="C#" Value="public virtual int IndexOf (System.Web.UI.Control c);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Int32</ReturnType></ReturnValue><Parameters><Parameter Name="c" Type="System.Web.UI.Control" /></Parameters><Docs><param name="c">a <see cref="T:System.Web.UI.Control" /></param><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>Use this method to determine the index location of the specified server control in the <see cref="T:System.Web.UI.ControlCollection" /> object.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Retrieves the index of a specified <see cref="T:System.Web.UI.Control" /> object in the collection.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>The index of the specified server control. If the server control is not currently a member of the collection, it returns -1.</para></returns></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IsReadOnly"><MemberSignature Language="C#" Value="public bool IsReadOnly { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'bool'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the <see cref="T:System.Web.UI.ControlCollection" /> object is read-only.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="IsSynchronized"><MemberSignature Language="C#" Value="public bool IsSynchronized { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Boolean</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'bool'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets a value indicating whether the <see cref="T:System.Web.UI.ControlCollection" /> object is synchronized.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Item"><MemberSignature Language="C#" Value="public virtual System.Web.UI.Control this[int index] { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.UI.Control</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><param name="index">To be added.</param><summary>To be added.</summary><value>To be added.</value><remarks>To be added.</remarks></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Owner"><MemberSignature Language="C#" Value="protected System.Web.UI.Control Owner { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Web.UI.Control</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'Control'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets the ASP.NET server control to which the <see cref="T:System.Web.UI.ControlCollection" /> object belongs.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="Remove"><MemberSignature Language="C#" Value="public virtual void Remove (System.Web.UI.Control value);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="value" Type="System.Web.UI.Control" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To remove a control from an index location, use the <see cref="M:System.Web.UI.ControlCollection.RemoveAt(System.Int32)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes the specified server control from the parent server control's <see cref="T:System.Web.UI.ControlCollection" /> object.</para></summary><param name="value"><attribution license="cc4" from="Microsoft" modified="false" />The server control to be removed. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="RemoveAt"><MemberSignature Language="C#" Value="public virtual void RemoveAt (int index);" /><MemberType>Method</MemberType><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="index" Type="System.Int32" /></Parameters><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>To remove a control from the collection based on its value, use the <see cref="M:System.Web.UI.ControlCollection.Remove(System.Web.UI.Control)" /> method.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Removes a child control, at the specified index location, from the <see cref="T:System.Web.UI.ControlCollection" /> object.</para></summary><param name="index"><attribution license="cc4" from="Microsoft" modified="false" />The ordinal index of the server control to be removed from the collection. </param></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="SyncRoot"><MemberSignature Language="C#" Value="public object SyncRoot { get; }" /><MemberType>Property</MemberType><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added: an object of type 'object'</value><remarks>To be added</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets an object that can be used to synchronize access to the collection of controls.</para></summary></Docs><AssemblyInfo><AssemblyVersion>1.0.5000.0</AssemblyVersion><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>