WizardStepCollection Class
Represents a collection of WizardStepBase-derived objects in a control that acts as a wizard. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
The WizardStepCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of WizardStepBase-derived objects in the Wizard control's WizardStepCollection collection. |
![]() | IsReadOnly | Gets a value indicating whether the WizardStepBase-derived objects in the collection can be modified. |
![]() | IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread-safe). |
![]() | Item | Gets a WizardStepBase-derived object from the collection at the specified index. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the collection. |
| Name | Description | |
|---|---|---|
![]() | Add | Appends the specified WizardStepBase-derived object to the end of the collection. |
![]() | AddAt | Adds the specified WizardStepBase-derived object to the collection at the specified index location. |
![]() | Clear | Removes all WizardStepBase-derived objects from the collection. |
![]() | Contains | Determines whether the WizardStepCollection collection contains a specific WizardStepBase-derived object. |
![]() | CopyTo | Copies all the items from a WizardStepCollection collection to a compatible one-dimensional array of WizardStepBase objects, starting at the specified index in the target array. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an IEnumerator-implemented object that can be used to iterate through the WizardStepBase-derived objects in the collection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Determines the index value that represents the position of the specified WizardStepBase-derived object in the collection. |
![]() | Insert | Inserts the specified WizardStepBase-derived object into the collection at the specified index location. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the specified WizardStepBase-derived object from the collection. |
![]() | RemoveAt | Removes the WizardStepBase-derived object from the collection at the specified location. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | Infrastructure. Copies all the items from a WizardStepCollection collection to a one-dimensional array, starting at the specified index in the target array. |
![]() ![]() | IList::Add | Infrastructure. Appends the specified object to the end of the collection. |
![]() ![]() | IList::Contains | Infrastructure. Determines whether the collection contains the specified object. |
![]() ![]() | IList::IndexOf | Infrastructure. Determines the index value that represents the position of the specified object in the collection. |
![]() ![]() | IList::Insert | Infrastructure. Inserts the specified object in the collection at the specified position. |
![]() ![]() | IList::IsFixedSize | Infrastructure. Gets a value indicating whether the collection has a fixed size. |
![]() ![]() | IList::Item | Infrastructure. Gets the object at the specified index in the collection. |
![]() ![]() | IList::Remove | Infrastructure. Removes the specified object from the collection. |
The WizardStepCollection class is used to store and manage a collection of WizardStepBase-derived objects in a control that acts as a wizard, such as the CreateUserWizard control or the Wizard control. For example, the Wizard control uses the WizardStepCollection class for its WizardSteps property.
There are multiple ways you can access the WizardStepBase-derived objects in the WizardStepCollection:
Use the Item property to directly access a WizardStepBase-derived object at a specific zero-based index.
Use the GetEnumerator method to create an enumerator that can be used to iterate through the collection.
Use the CopyTo method to copy the contents of the WizardStepCollection collection into an Array object.
| Topic | Location |
|---|---|
| Walkthrough: Creating a Basic ASP.NET Wizard Control | Building ASP .NET Web Applications in Visual Studio |
| Walkthrough: Advanced Use of the ASP.NET Wizard Control | Building ASP .NET Web Applications in Visual Studio |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.






