FilePathGetLastDirectoryName Method
Gets the last directory name from a file path.
Namespace: Gemstone.IOAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
public static string GetLastDirectoryName(
string filePath
)
Public Shared Function GetLastDirectoryName (
filePath As String
) As String
public:
static String^ GetLastDirectoryName(
String^ filePath
)
Gemstone.IO.FilePath.GetLastDirectoryName = function(filePath);
- filePath String
- The file path from where the last directory name is to be retrieved.
StringThe last directory name from a file path.
GetLastDirectoryName(String) would return sub2 from c:\windows\sub2\filename.ext.