SPWorkflowTemplate.Clone method
Creates a copy of the workflow template.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function Clone As Object
'Usage
Dim instance As SPWorkflowTemplate
Dim returnValue As Object
returnValue = instance.Clone()
public Object Clone()
Return value
Type: System.Object
Implements
Remarks
This method creates a shallow copy of the current workflow template by creating a new object, and then copying the non-static fields of the current object to the new object.
See also
Reference
Microsoft.SharePoint.Workflow namespace
Other resources
Workflows in Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview