Share via


IMutableMetadataCollection<T>.Clone Method (Boolean)

Creates an IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
Function Clone ( _
    copyData As Boolean _
) As IMutableMetadataCollection(Of T)
'Usage
Dim instance As IMutableMetadataCollection
Dim copyData As Boolean
Dim returnValue As IMutableMetadataCollection(Of T)

returnValue = instance.Clone(copyData)
IMutableMetadataCollection<T> Clone(
    bool copyData
)
IMutableMetadataCollection<T>^ Clone(
    bool copyData
)
abstract Clone : 
        copyData:bool -> IMutableMetadataCollection<'T> 
function Clone(
    copyData : boolean
) : IMutableMetadataCollection<T>

Parameters

  • copyData
    Type: System.Boolean
    true to copy the elements to the newly created collection; otherwise, false.

Return Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IMutableMetadataCollection<T>
An IMutableMetadataCollection<T> instance that is a copy of this object and, if specified, also copies the elements.