Clears the destination collection and copies all elements in the specified source
collection to the destination.
Namespace:
Endeca.Web.UI
Assembly:
Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Sub CopyTo(Of T) ( _
source As IEnumerable(Of T), _
destination As ICollection(Of T) _
) |
Visual C++ |
---|
public:
generic<typename T>
static void CopyTo(
IEnumerable<T>^ source,
ICollection<T>^ destination
) |
Type Parameters
- T
- Type of element in the source and destination collections.
Exceptions
See Also