xSQL Schema Compare SDK version 9.5 for SQL Server
CopyTo(CollectionDictionaryBase<TItem>,Boolean) Method


The target CollectionDictionaryBase<TItem> collection to which this collection is copied.
If true, an item, that exists in otherCollection, is not added.
Copies this collection to the otherCollection excluding duplicates.
Syntax
'Declaration
 
Public Overloads Sub CopyTo( _
   ByVal otherCollection As CollectionDictionaryBase(Of TItem), _
   ByVal excludeDuplicates As System.Boolean _
) 
public void CopyTo( 
   CollectionDictionaryBase<TItem> otherCollection,
   System.bool excludeDuplicates
)
public: void CopyTo( 
   CollectionDictionaryBase<TItem*>* otherCollection,
   System.bool excludeDuplicates
) 

Parameters

otherCollection
The target CollectionDictionaryBase<TItem> collection to which this collection is copied.
excludeDuplicates
If true, an item, that exists in otherCollection, is not added.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe otherCollection argument is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CollectionDictionaryBase<TItem> Class
CollectionDictionaryBase<TItem> Members
Overload List

 

 


┬ęCopyright 2018 xSQL Software. All Rights Reserved.

Send Feedback