FilePathGetFileName Method

Gets the file name and extension from the specified file path.

Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.189 -- Release Build+bc0447150375c9f36275cb970e15c3b4beeb9638
public static string GetFileName(
	string filePath
)

Parameters

filePath  String
The file path from which the file name and extension is to be obtained.

Return Value

String
File name and extension if the file path has it; otherwise empty string.

See Also