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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Déclaration
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.