Click or drag to resize

ProjectFolderCombine Method

Combines a folder name (with trailing DirectorySeparatorChar) with an item name, returning the full name of the item. If the trailing DirectorySeparatorChar is missed in the directoryPart, it is automatically appended to the directoryPart.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string Combine(
	string directoryPart,
	string namePart
)

Parameters

directoryPart  String
Folder name (normally with trailing DirectorySeparatorChar, but here it is tolerated also without trailing DirectorySeparatorChar).
namePart  String
Name part of the item (without any DirectorySeparatorChar)s.

Return Value

String
The full name of the item. (directoryPart + DirectorySeparatorChar + namePart.
See Also