Represents a collection container that enables a MultiView control to maintain a list of its child controls.
Assembly: System.Web (in System.Web.dll)
Gets a reference to the View control at the specified index location in the collection.
Gets an object that can be used to synchronize access to the collection of controls.(Inherited from ControlCollection.)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Returns a string that represents the current object.(Inherited from Object.)
Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)
Use the Add method to add a new View control to the collection at the end of an ordinal index array. Use the AddAt method to add a new control at a specific index location. Use the Item indexer to get a View control from the collection at a specified index, using simple array notation.
The following code example demonstrates how to programmatically add View controls to a MultiView control. After each View control is created, the AddAt method is used to add the View control to the collection of the MultiView control at the specified index. The Item indexer is used to access the ID properties of the View controls stored in the collection and display them to the user.
Available since 2.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.