Click or drag to resize

FileNameGetDirectoryName Method

Gets the name of the directory from the given file name. Throws an InvalidOperationException if a directory name could not be retrieved.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static string GetDirectoryName(
	string fullFileName
)

Parameters

fullFileName  String
Full name of the file.

Return Value

String

[Missing <returns> documentation for "M:Altaxo.Main.Services.FileName.GetDirectoryName(System.String)"]

Exceptions
ExceptionCondition
InvalidOperationExceptionUnable to get directory name from file name '{fullFileName}'
See Also