Click or drag to resize

AltaxoDocumentSaveToArchive Method

Saves the document to a project archive.

Namespace: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Dictionary<string, IProjectItem> SaveToArchive(
	IProjectArchive archiveToSaveTo,
	XmlStreamSerializationInfo info,
	IProjectArchive? originalArchive = null,
	IProjectArchiveManager? projectArchiveManager = null
)

Parameters

archiveToSaveTo  IProjectArchive
The archive to save the document to.
info  XmlStreamSerializationInfo
The serialization information.
originalArchive  IProjectArchive  (Optional)
The original archive that belongs to the project being saved. Can accelerate the saving of the document by recycling some of the already saved streams. This parameter can be null.
projectArchiveManager  IProjectArchiveManager  (Optional)
The project archive manager that manages the archive.

Return Value

DictionaryString, IProjectItem
A dictionary where the keys are the archive entry names that where used to store the project items that are the values. The dictionary contains only those project items that need further handling (e.g. late load handling).
Exceptions
ExceptionCondition
ApplicationException
See Also