LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
MemberwiseClone(Boolean) Method
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class > MemberwiseClone Method : MemberwiseClone(Boolean) Method



cloneIdentity
false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.
cloneIdentity
false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.
Creates a shallow copy of the current System.MarshalByRefObject object.

Syntax

Visual Basic (Declaration) 
Overloads Protected Function MemberwiseClone( _
   ByVal cloneIdentity As Boolean _
) As MarshalByRefObject
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim cloneIdentity As Boolean
Dim value As MarshalByRefObject
 
value = instance.MemberwiseClone(cloneIdentity)
C# 
protected MarshalByRefObject MemberwiseClone( 
   bool cloneIdentity
)
C++/CLI 
protected:
MarshalByRefObject^ MemberwiseClone( 
   bool cloneIdentity
) 

Parameters

cloneIdentity
false to delete the current System.MarshalByRefObject object's identity, which will cause the object to be assigned a new identity when it is marshaled across a remoting boundary. A value of false is usually appropriate. true to copy the current System.MarshalByRefObject object's identity to its clone, which will cause remoting client calls to be routed to the remote server object.

Return Value

A shallow copy of the current System.MarshalByRefObject object.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features