Engine.NewEditContext ( obj, [editArgsParam], [locationString])
A reference to a SequenceContext object. Release this reference when you are finished using it.
Returns a SequenceContext object that approximates the sequence context TestStand creates when you run a sequence.
You can pass the object this method returns as a parameter to the DisplayBrowseExprDialogEx and DisplayBrowsePropertyObjectDialog.
When you pass an array of step references, this method returns a context with a Step property that represents multiple steps, where the subproperties of Step contain only properties that are common to all steps in the array. Use the context with SequenceContext.GetMultipleValues to determine if an element of the property, such as the value, comment, format, or flags, represent the shared element value for all the steps in the array. If at least one step has a different value for an element, the property element in the context contains a default value.
obj As PropertyObject
[In] Pass the object to initialize the sequence context. You may pass a sequence file, sequence, step, variable, or array of object references to steps. This method sets the sequence context properties that correspond to the object you pass.
editArgsParam As Variant
[In] [Optional] Pass an EditArgs object that indicates which items are currently selected in the user interface.
locationString As Variant
[Out] [Optional] Returns the lookupString for the object passed in. Use this lookupString to access the object from the sequence context.
DisplayBrowsePropertyObjectDialog