|
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.265-beta+b9fecb767fe978094c19da8101c12474843773cb
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