directory class : directory(string) fitter
Description
Return a directory type instance that is initialized by the path to the directory.
Syntax
new directory(string pathToDirectory)
Arguments
Class | Name | Description |
string | pathToDirectory | A path to any directory |
Return value
Class | Description |
directory | A directory type instance that is initialized. |
Sample code
1: | directory dir = new directory("c:\anydirectory..."); |
Notes
It's a wrapper of the System.IO.DirectoryInfo.DirectoryInfo(String) constructor.