DataExtensions CopyTo Method Kentico 8.1 API Reference
Copies the data of specified columns of the source object to the target object.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

obj
Type: CMS.Base IDataContainer
Source object
target
Type: CMS.Base IDataContainer
Target object
columns (Optional)
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
List of columns to copy, if null, all columns will be copied
excludeColumns (Optional)
Type: OnlineSystem.Collections.Generic IEnumerable OnlineString 
List of columns to exclude
See Also