DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomLabelCollection Class / Clone Method / Clone() Method



In This Topic
    Clone() Method
    In This Topic
    Returns a copy of the DicomLabelCollection
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function Clone() As Object
    'Usage
     
    
    Dim instance As DicomLabelCollection
    Dim value As Object
     
    value = instance.Clone()
    public virtual object Clone()
    public:
    virtual Object^ Clone(); 

    Return Value

    Remarks
    This method makes a Shallow Copy of the DicomLabelCollection. A shallow copy will only have the top level objects replicated, any referenced objects under the top level will be shared by the original DicomLabelCollection and the cloned copy.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also