DicomObjects.NET.8.48 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 System.Object
    'Usage
     
    
    Dim instance As DicomLabelCollection
    Dim value As System.Object
     
    value = instance.Clone()
    public virtual System.object Clone()
    public function Clone(): System.TObject; virtual; 
    public function Clone() : System.Object;
    public: virtual System.Object* Clone(); 
    public:
    virtual System.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: .NET CLR 4.8 or higher

    See Also