DicomObjects.NET.V8
DicomObjects Namespace / DicomDataSet Class / Clone Method / Clone() Method



In This Topic
    Clone() Method
    In This Topic
    Returns a copy of the DicomDataSet
    Syntax
    'Declaration
     
    Public Overloads Overridable Function Clone() As Object
    'Usage
     
    Dim instance As DicomDataSet
    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 DicomDataSet

    A shallow copy will only have the top level objects replicated, any referenced objects under the top level will be shared by the original DicomDataSet and the cloned copy.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also