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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk