Copy Method (StdOperStep)
- Last UpdatedNov 06, 2025
- 1 minute read
The Copy() method adds one or more new standard operation step to the Std_Oper_Step table by copying existing standard operation steps.
For this overload of the method, the operation, and steps to copy are passed by a stepList parameter that is populated by the StdOperStepCopySource() method.
'Declaration
Public Shared Sub Copy( _
ByVal sessionId As Integer, _
ByVal stepList() As StdOperStepCopySource, _
ByVal targetOperId As String, _
ByVal targetStepNo As Nullable(Of Integer) _
)
'Usage
Dim sessionId As Integer
Dim stepList() As StdOperStepCopySource
Dim targetOperId As String
Dim targetStepNo As Nullable(Of Integer)
StdOperStep.Copy(sessionId, stepList, targetOperId, targetStepNo)
public static void Copy(
int sessionId,
StdOperStepCopySource[] stepList,
string targetOperId,
Nullable<int> targetStepNo
)
Parameters
- sessionId
- Required. Holds the session ID and thus the user who is making this method call.
- stepList
- Required. Holds a list of operation IDs and steps populated by the StdOperStepCopySource() method, for identifying the list of source step numbers to copy.
- targetOperId
- Required. Holds the ID of the operation to which the target step belongs.
- targetStepNo
- Optional. Holds the step number of the target step.