Home Notices Documents Classes Download Others Rice
Classes  >  directory  >  Root
directory class : Root getter

Description

Gets the root directory.

Syntax

directoryInstance.Root

Arguments

None

Return value

ClassDescription
directoryThe 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.

Links for reference

Copyright © Rice All rights reserved.