ProjectFolderAreAllNamesFromOneFolder Method |
Determines whether all names in argument itemNames are from a single project folder.
Namespace: Altaxo.MainAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
BooleanTrue if all names belong to one project folder; otherwise
False.
See Also