Engine.NewSequence
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Engine.NewSequence
Syntax
Engine.NewSequence
Return Value
Purpose
Creates and returns a new Sequence object.
Remarks
Pass the new Sequence object to the SequenceFile.InsertSequenceEx method to add a sequence to a sequence file.
Note
TestStand does not validate sequence names you create programmatically for invalid characters, such as spaces, which can result in errors when you use expressions. Use the
PropertyObject.ValidateNewElementName
method to validate sequence names. Names of sequences in a PropertyObject array can contain any character. However, sequence names cannot be empty or contain control characters. You cannot have duplicate sequence names.