Share via


DictionaryCollection<T>.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 Overrides Function Clone ( _
    copyData As Boolean _
) As IMutableMetadataCollection(Of T)
'Usage
Dim instance As DictionaryCollection 
Dim copyData As Boolean 
Dim returnValue As IMutableMetadataCollection(Of T)

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

DictionaryCollection<T> Class

Clone Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace