다음을 통해 공유


SPWorkflowTemplate.Clone Method

Creates a copy of the workflow template.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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

ICloneable.Clone()

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

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation