Share via


DataSource.Clone Method

Creates a new instance of the data source.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Function Clone As Object
public Object Clone()
public:
virtual Object^ Clone() sealed
abstract Clone : unit -> Object 
override Clone : unit -> Object 
public final function Clone() : Object

Return Value

Type: System.Object
A new instance of the data source.

Implements

ICloneable.Clone()

.NET Framework Security

See Also

Reference

DataSource Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace