|
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.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
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