Represents a collection container that enables a System.Web.UI.WebControls.MultiView control to maintain a list of its child controls.
See Also: ViewCollection Members
The System.Web.UI.WebControls.ViewCollection class represents a collection container that enables a System.Web.UI.WebControls.MultiView control to maintain a list of its child controls. A System.Web.UI.WebControls.MultiView control can contain only System.Web.UI.WebControls.View controls as child controls.
Use the ViewCollection.Add(System.Web.UI.Control) method to add a new System.Web.UI.WebControls.View control to the System.Web.UI.WebControls.ViewCollection collection at the end of an ordinal index array. Use the ViewCollection.AddAt(int, System.Web.UI.Control) method to add a new control at a specific index location. Use the ViewCollection.Item(int) indexer to get a System.Web.UI.WebControls.View control from the System.Web.UI.WebControls.ViewCollection collection at a specified index, using simple array notation.