directory class : Root getter
Description
Gets the root directory.
Syntax
directoryInstance.Root
Arguments
None
Return value
Class | Description |
directory | The root directory of the invoker. |
Sample code
1: | directory dir = new directory("c:\somewhere..."); |
2: | directory rootDirectory = dir.Root; |
Notes
It's a wrapper of the System.IO.DirectoryInfo.Root property.