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