Click or drag to resize
ImportProviderAddImportFiles Method
Adds the object files to the import files list.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntax
C#
public static void AddImportFiles(
	SiteImportSettings settings,
	DataSet ds,
	string objectType,
	bool siteObject,
	TranslationHelper th,
	int parentId = 0,
	string parentCodeName = null
)

Parameters

settings
Type: CMS.CMSImportExportSiteImportSettings
Import settings
ds
Type: System.DataDataSet
DataSet with the objects data
objectType
Type: SystemString
Object type
siteObject
Type: SystemBoolean
Indicates if object is site object
th
Type: CMS.DataEngineTranslationHelper
Translation helper
parentId (Optional)
Type: SystemInt32
Parent object ID
parentCodeName (Optional)
Type: SystemString
Code name of the parent object
See Also