AbsoluteAndRelativeFileNameGetResolvedFileNameOrNull Method |
Gets the absolute resolved file name or null. In order to resolve the name, at first it is tested whether a file with the stored absolute file name exists. If it exists, the absolute file name is returned.
If such a file does not exist, the file name is evaluated from the stored relative file name and the name of the project file. Again, if a file under this name exist, the absolute file name of this file is returned.
If neither the absolute nor the relative file name leads to an existing file, null is returned.
Namespace: Altaxo.SerializationAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public string? GetResolvedFileNameOrNull()
Return Value
StringThe absolute file name of an existing file, or
null.
See Also