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.186 -- Release Build+f3c68cd1a13b4f341e0d0fc1ddec1eb68d3eeb61
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