skip to main content
string GetFileName (string path)
 
Determines the name of the file with the directory prefix removed.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
path
Full pathname of the file.
Returns:
The file basename.
Was this helpful?
Last modified date: 10/14/2020