SPDataSource.Clone Method

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

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Function Clone As Object
'Usage
Dim instance As SPDataSource
Dim returnValue As Object

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

Return Value

Type: System.Object
A System.Object that is a copy of the current SPDataSource object.

Implements

ICloneable.Clone()

See Also

Reference

SPDataSource Class

SPDataSource Members

Microsoft.SharePoint.WebControls Namespace