Step.Name

Syntax

Step.Name

Data Type

String

Purpose

Specifies the name of the step.

Remarks

You can use the following code snippet to set the default name of the new step:

Step.Name = Step.StepType.AsPropertyObject.EvaluateEx(Step.StepType.DefaultNameExpr, EvalOption_DoNotAlterValues).GetValString("", 0)

Note TestStand does not validate step names you create programmatically for invalid characters, which can result in errors when you use expressions. Use the PropertyObject.ValidateNewName method to validate step names. Step names can contain any character.

See Also

PropertyObject.ValidateNewElementName

Step.GetDescriptionEx

Step.GetStepSettingsString