DiagramItem.Clone Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

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

Return Value

Type: System.Object

Implements

ICloneable.Clone()

.NET Framework Security

See Also

Reference

DiagramItem Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace