WizardStepCollection.IndexOf(WizardStepBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index value that represents the position of the specified WizardStepBase-derived object in the collection.
public:
int IndexOf(System::Web::UI::WebControls::WizardStepBase ^ wizardStep);
public int IndexOf (System.Web.UI.WebControls.WizardStepBase wizardStep);
member this.IndexOf : System.Web.UI.WebControls.WizardStepBase -> int
Public Function IndexOf (wizardStep As WizardStepBase) As Integer
Parameters
- wizardStep
- WizardStepBase
The WizardStepBase-derived object to search for in the WizardStepCollection collection.
Returns
If found, the zero-based index of the first occurrence of the WizardStepBase-derived object passed in within the current WizardStepCollection collection; otherwise, -1.
Exceptions
The WizardStepBase-derived object passed in is null
.
Remarks
Use the IndexOf method to determine the index of the specified WizardStepBase-derived object in the current WizardStepCollection collection. If the WizardStepBase-derived object is not in the collection, the method returns -1.
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro