Click or drag to resize

ProjectFolderGetFolderPart Method

Gets the directory part of a full qualified name. Can either be the name of an item (worksheet, graph) or a full folder name. If the name of a item is provided, the item's directory name is returned. If a full folder path is provided (i.e. either an empty string or a string ending with a DirectorySeparatorChar), the unchanged argument is returned.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static string GetFolderPart(
	string fullName
)

Parameters

fullName  String
The full item or folder name.

Return Value

String
The folder portion of fullName.
See Also