Sequence.InsertStep

Syntax

Sequence.InsertStep( stepToInsert, index, stepGroupParam)

Purpose

Inserts a step into the sequence.

Remarks

Note Never insert a step into a sequence when that step resides in another sequence. The step reference you pass must be the only reference to the step. You can obtain the sole reference to a step by calling the Engine.NewStep method or the Sequence.RemoveStep method.

Parameters

stepToInsert As Step

[In] Specifies the step to insert.

index As Long

[In] Specifies the zero-based index that indicates the location where to insert the step in the step group.

stepGroupParam As StepGroups

[In] Specifies a particular step group.

See Also

Engine.NewStep

Sequence.DeleteStep

Sequence.RemoveStep

StepGroups