|
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.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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