Imports a new document into the repository.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public BCDocument ImportDocument(
	BCFolder parentFolder,
	BCDocumentType type,
	DocumentWorkflowFlags initialState,
	BCDocumentTemplate template
)
Visual Basic
Public Function ImportDocument ( _
	parentFolder As BCFolder, _
	type As BCDocumentType, _
	initialState As DocumentWorkflowFlags, _
	template As BCDocumentTemplate _
) As BCDocument
Visual C++
public:
BCDocument^ ImportDocument(
	BCFolder^ parentFolder, 
	BCDocumentType^ type, 
	DocumentWorkflowFlags initialState, 
	BCDocumentTemplate^ template
)

Parameters

parentFolder
Type: BlueCieloECM.InnoCielo.Meridian.Server..::..BCFolder
The parent folder for the document. If nullNothingnullptra null reference (Nothing in Visual Basic) then the parent folder is Root.
type
Type: BlueCieloECM.InnoCielo.Meridian.Server..::..BCDocumentType
The document type.
initialState
Type: BlueCieloECM.InnoCielo.Meridian.Server..::..DocumentWorkflowFlags
The document workflow state. Can be one of the following values: DWFS_UNCHANGED, DWFS_WORKINGCOPY, DWFS_UNDERCHANGE
template
Type: BlueCieloECM.InnoCielo.Meridian.Server..::..BCDocumentTemplate
The document template. If nullNothingnullptra null reference (Nothing in Visual Basic) then the template is not used.

Return Value

The imported document.

See Also