Click or drag to resize

CAEXDocumentLoadFromFile Method

Create a CAEX document with content, loaded from a file. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object.

Namespace: Aml.Engine.CAEX
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public static CAEXDocument LoadFromFile(
	string filePath,
	bool createIndices = false
)

Parameters

filePath  String
The file path.
createIndices  Boolean  (Optional)
if set to true, indices for fast access are loaded for the default QueryService. Please note, that this option is only recommended to be set for read only documents, because the indices will not be updated when a document is changed. For editable documents the LookupService should be used.

Return Value

CAEXDocument
The created CAEX document.
Exceptions
ExceptionCondition
FileNotFoundExceptionfilePath
See Also