OrderedCollectionBase<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.MetadataProvider
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

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

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

Implements

IMutableMetadataCollection<T>.Clone(Boolean)

See Also

Reference

OrderedCollectionBase<T> Class

Clone Overload

Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace