Locations.AddExecutionLocation
- Mise à jour2025-07-21
- Temps de lecture : 1 minute(s)
Locations.AddExecutionLocation
Syntax
Locations.AddExecutionLocation( seqContext, lookupString, elem = PropertyObjectElement_None, selectionStart = 0, selectionLength = -1)
Return Value
The Location added to the collection.
Purpose
Adds a new execution location to the collection.
Parameters
seqContext As SequenceContext
[In] Specifies the sequence context to initialize the Location.ContextId , Location.ExecutionId , and Location.ThreadId properties.
lookupString As String
[In] Specifies the path to a subproperty of the seqContext parameter. This method sets the Location.PropertyPath property of the new Location using the lookup string you pass. This method also sets as many properties of the new Location as this method can obtain from the subproperty this parameter specifies.
elem As PropertyObjectElements
[In] Specifies the value of the Location.Element property of the new location.
This parameter has a default value of PropertyObjectElement_None .
selectionStart As Long
[In] Specifies the value of the Location.SelStart property of the new location.
This parameter has a default value of 0 .
selectionLength As Long
[In] Specifies the value of the Location.SelLength property of the new location.
This parameter has a default value of -1 .