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