ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 415
نمايش فراداده

EmptyControlCollection

System.Web.UI (system.web.dll)class

This class represents a collection of controls that is always empty. Using the Add( ) method will trigger an exception.

public class 

EmptyControlCollection : ControlCollection { // Public Constructors public

EmptyControlCollection (Control

owner ); // Public Instance Methods public override void

Add (Control

child ); // overrides ControlCollection public override void

AddAt (int

index , Control

child ); // overrides ControlCollection }

Hierarchy

System.Object ControlCollection(System.Collections.ICollection, System.Collections.IEnumerable) EmptyControlCollection