Selecting items to export
Create an array of the Selection class in the Tridion.ContentManager.ImportExport namespace to assemble the items you want to export.
Procedure
- In your custom client code, create an array of
Selectionobjects. - Fill this array with one or more objects of a subclasses of
Selection. The various constructor parameters of these classes let you specify in detail exactly which items to add to your selection array. For example, theSubtreeSelectionconstructor lets you specify the ID of a root container, and whether or not you want to include the root container itself. - Pass this array to the
StartExportmethod of your client object.