Navigation:  Object Model Reference > Project Object >

FindStep Method

Previous pageReturn to chapter overviewNext page

Search for a step by name and return the 0-based index of the first matching step or -1 if not found.

 

Syntax

 

Project.FindStep(ByVal sname As String, ByVal stype As StepTypeEnum, ByVal maxIndent As Long = -1) As Long

 

Arguments

 

Project

       Project object

 

sname

       Required.  The name of the step to search for.  A non-case-sensitive search is performed.

 

stype

       Required.  The step collection to search.

 

maxIndent

       Optional.  The maximum step indent to match or -1 to search regardless of indentation.

 

 

See Also

 

Applies to Project object