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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기