ImportProviderImportObjects Method |
Imports the objects.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 8.2.23
Syntax public static Dictionary<int, int> ImportObjects(
SiteImportSettings settings,
DataSet data,
string objectType,
bool siteObject,
TranslationHelper th,
bool importChild,
ProcessObjectEnum processType,
List<int> importedParentIds
)
Parameters
- settings
- Type: CMS.CMSImportExportSiteImportSettings
Import settings - data
- Type: System.DataDataSet
Source DataSet - objectType
- Type: SystemString
Object type - siteObject
- Type: SystemBoolean
Site objects - th
- Type: CMS.DataEngineTranslationHelper
Translation helper - importChild
- Type: SystemBoolean
Import child objects? - processType
- Type: CMS.CMSImportExportProcessObjectEnum
Process type - importedParentIds
- Type: System.Collections.GenericListInt32
Table of imported parent object IDs. When set, only objects with parent from the table are imported
Return Value
Type:
DictionaryInt32,
Int32See Also