IOHelperGetFileNameWithoutExtension Method

Returns the file name of the specified path string without the extension.

Definition

Namespace: Configuration.Helper
Assembly: Configuration.Helper (in Configuration.Helper.dll) Version: 2.0.5
C#
public static string GetFileNameWithoutExtension(
	string path
)

Parameters

path  String
The path of the file.

Return Value

String
The string returned by GetFileName, minus the last period (.) and all characters following it.

See Also