Click or drag to resize

ProjectFolderAreAllNamesFromOneFolder Method

Determines whether all names in argument itemNames are from a single project folder.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool AreAllNamesFromOneFolder(
	IEnumerable<string> itemNames,
	out string folderName
)

Parameters

itemNames  IEnumerableString
Enumeration of names (usually of project items).
folderName  String
On return, if all names belong to one folder, the name of this folder is returned (with trailing directory separator char). Otherwise, an empty string is returned.

Return Value

Boolean
True if all names belong to one project folder; otherwise False.
See Also