Click or drag to resize

ProjectFolderGetCommonFolderOfNames Method

Gets the common folder of the provided item names.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string GetCommonFolderOfNames(
	IEnumerable<string> itemNames
)

Parameters

itemNames  IEnumerableString
The item names.

Return Value

String
The common folder of the items. This it at least the root folder (see RootFolderName).
Exceptions
ExceptionCondition
ArgumentExceptionitemNames enumeration was empty
See Also