Name

EmptyControlCollection

Synopsis

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

Public Class EmptyControlCollection : Inherits ControlCollection
' Public Constructors
   Public Sub New(ByVal owner As Control) 
' Public Instance Methods
   Overrides Public Sub Add(ByVal child As Control) 
   Overrides Public Sub AddAt(ByVal index As Integer, 
        ByVal child As Control) 
End Class

Hierarchy

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

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.