Version

ItemTemplateCollection Class Members

The following tables list the members exposed by ItemTemplateCollection.

Public Constructors
 NameDescription
Public ConstructorItemTemplateCollection ConstructorConstructor for the ItemTemplateCollection  
Public Properties
 NameDescription
Public PropertyCountGets the number of server controls in the System.Web.UI.ControlCollection object for the specified ASP.NET server control. (Inherited from System.Web.UI.ControlCollection)
Public PropertyIsReadOnlyGets a value indicating whether the System.Web.UI.ControlCollection object is read-only. (Inherited from System.Web.UI.ControlCollection)
Public PropertyIsSynchronizedGets a value indicating whether the System.Web.UI.ControlCollection object is synchronized. (Inherited from System.Web.UI.ControlCollection)
Public PropertyItemType specific indexer for the ItemTemplateCollection. Returns the ItemTemplate at the given index within the collection  
Public PropertySyncRootGets an object that can be used to synchronize access to the collection of controls. (Inherited from System.Web.UI.ControlCollection)
Protected Properties
 NameDescription
Protected PropertyOwnerGets the ASP.NET server control to which the System.Web.UI.ControlCollection object belongs. (Inherited from System.Web.UI.ControlCollection)
Public Methods
 NameDescription
Public MethodAddAdds the specified System.Web.UI.Control object to the collection. (Inherited from System.Web.UI.ControlCollection)
Public MethodAddAtAdds the specified System.Web.UI.Control object to the collection at the specified index location. (Inherited from System.Web.UI.ControlCollection)
Public MethodClearRemoves all controls from the current server control's System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.ControlCollection)
Public MethodContainsDetermines whether the specified server control is in the parent server control's System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.ControlCollection)
Public MethodCopyToCopies the child controls stored in the System.Web.UI.ControlCollection object to an System.Array object, beginning at the specified index location in the System.Array. (Inherited from System.Web.UI.ControlCollection)
Public MethodGetEnumeratorRetrieves an enumerator that can iterate through the System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.ControlCollection)
Public MethodIndexOfRetrieves the index of a specified System.Web.UI.Control object in the collection. (Inherited from System.Web.UI.ControlCollection)
Public MethodRemoveRemoves the specified server control from the parent server control's System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.ControlCollection)
Public MethodRemoveAtRemoves a child control, at the specified index location, from the System.Web.UI.ControlCollection object. (Inherited from System.Web.UI.ControlCollection)
See Also