Dela via


Comment.Clone Method

Creates a new Comment that is a copy of the current Comment.

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

Syntax

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

Return Value

Type: System.Object
A new Comment that is a copy of the current Comment.

Implements

ICloneable.Clone()

.NET Framework Security

See Also

Reference

Comment Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace