|
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.275-beta+89764ccfd98a5e76971bbd58cae85aa2e8f59fbd
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