WizardStepCollection.Count Property

 

Gets the number of WizardStepBase-derived objects in the Wizard control's WizardStepCollection collection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public int Count { get; }

Property Value

Type: System.Int32

The number of WizardStepBase-derived objects in the Wizard control.

Use the Count property to determine the number of WizardStepBase-derived objects in the WizardStepCollection collection. The Count property is commonly used when iterating through the collection to determine its upper bound.

.NET Framework
Available since 2.0
Return to top
Show: