Share via


DictionaryCollectionBase<T, U>.Clone Method (Boolean)

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

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

Syntax

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

returnValue = instance.Clone(copyData)
public abstract IMutableMetadataCollection<T> Clone(
    bool copyData
)
public:
virtual IMutableMetadataCollection<T>^ Clone(
    bool copyData
) abstract
abstract Clone : 
        copyData:bool -> IMutableMetadataCollection<'T> 
public abstract 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>
The cloned IMutableMetadataCollection<T> object.

Implements

IMutableMetadataCollection<T>.Clone(Boolean)

See Also

Reference

DictionaryCollectionBase<T, U> Class

Clone Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace