T
The Type to return.
Clone<T>() Method
See Also 
SourceCode.Workflow.Design.SharePoint.WorkflowIntegration.Shared Namespace > TaskList Class > Clone Method : Clone<T>() Method



Glossary Item Box

Creates a new object that is a copy of the current instance.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function Clone(Of T As PersistableObject)() As T
Visual Basic (Usage)Copy Code
Dim instance As TaskList
Dim value As T
 
value = instance.Clone(Of T)()
C# 
public override T Clone<T>()
where T: PersistableObject
C++/CLI 
public:
T^ Clonegeneric<typename T>
(); override 
where T: PersistableObject

Type Parameters

T
The Type to return.

Return Value

A new object that is a copy of this instance.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also