Describe some of the methods of the Directory class.

What will be an ideal response?


The Directory class includes the following methods:
* CreateDirectory() creates a directory.
* Delete() deletes a directory.
* Exists() returns true if the specified directory exists.
* GetCreationTime() returns a DateTime object specifying when a directory was created.
* GetDirectories() returns a string array that contains the names of the subdirectories in the specified directory.
* GetFiles() returns a string array that contains the names of the files in the specified directory.
* GetLastAccessTime() returns a DateTime object specifying when a directory was last accessed.
* GetLastWriteTime() returns a DateTime object specifying when a directory was last modified.
* Move() moves a directory to the specified location.

Computer Science & Information Technology

You might also like to view...

Which property ensures that either all operations are complete, or the database changes are rolled back?

A. Consistency B. Atomicity C. Isolation D. Durability

Computer Science & Information Technology

Using all capital letters leaves no room for emphasis or inflection.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

?The _________ element is a semantic element with self-contained content.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

What does it mean when a document in the Book panel has the Indicates the Style Source icon beside it?

What will be an ideal response?

Computer Science & Information Technology