|
FilePathGetFileName Method
|
Gets the file name and extension from the specified file path.
Namespace: GSF.IOAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic static string GetFileName(
string filePath
)
Public Shared Function GetFileName (
filePath As String
) As String
public:
static String^ GetFileName(
String^ filePath
)
static member GetFileName :
filePath : string -> string
GSF.IO.FilePath.GetFileName = function(filePath);
View SourceParameters
- filePath String
- The file path from which the file name and extension is to be obtained.
Return Value
StringFile name and extension if the file path has it; otherwise empty string.
See Also