Share via


WorkflowAncestorReferenceExpression.Clone method

Clones the current WorkflowAncestorReferenceExpression object.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public Function Clone As CodeExpression
'Usage
Dim instance As WorkflowAncestorReferenceExpression
Dim returnValue As CodeExpression

returnValue = instance.Clone()
public CodeExpression Clone()

Return value

Type: System.CodeDom.CodeExpression
A deep copy of the current WorkflowAncestorReferenceExpression.

Implements

IRuleExpression.Clone()

Remarks

A “deep copy” indicates that the properties of the new object have the same values as the properties of the copied object.

See also

Reference

WorkflowAncestorReferenceExpression class

WorkflowAncestorReferenceExpression members

Microsoft.SharePoint.WorkflowActions namespace