FileUtilityObservedSave(NamedFileOrFolderOperationDelegate, PathName, FileErrorPolicy) Method |
Executes a save-as operation and reports failures using a standard save error message.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static FileOperationResult ObservedSave(
NamedFileOrFolderOperationDelegate saveFileAs,
PathName fileName,
FileErrorPolicy policy = FileErrorPolicy.Inform
)
Parameters
- saveFileAs NamedFileOrFolderOperationDelegate
- The save-as operation.
- fileName PathName
- The target file or folder name.
- policy FileErrorPolicy (Optional)
- The error-handling policy.
Return Value
FileOperationResultThe result of the save-as operation.
See Also