Search Results for

Show / Hide Table of Contents

# Class ReimportDocumentOptions

Encapsulates details of a document reimport action for a particular source file.

##### Inheritance

System.Object
ReimportDocumentOptions

##### Syntax

    public class ReimportDocumentOptions

### Fields

#### DocumentsToReplace

The guids of the documents in the server projects which are to be replaces by the imported document. The documents should belong to different target languages. To replace all target language copies of a document all document guids must be specified.

##### Declaration

    public Guid[] DocumentsToReplace

##### Type

System.Guid[]

#### FileGuid

The guid of the file uploaded to the FileManagerService which is to be imported replacing documents in the project.

##### Declaration

    public Guid FileGuid

##### Type

System.Guid

#### KeepUserAssignments

Indicates whether the user assignments should be kept.

##### Declaration

    public bool KeepUserAssignments

##### Type

System.Boolean

#### PathToSetAsImportPath

The full path which should be set as the import path of the file. Since the files are uploaded via IFileManagerService, their original location is not retained during import. If this path is specified, this string will be saved as the import path of the document, and will be the bases for calculating the export path.

##### Declaration

    public string PathToSetAsImportPath

##### Type

System.String