Click or drag to resize

DirectoryInfo Constructor (String)

Initializes a new instance of the DirectoryInfo class on the specified path.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public DirectoryInfo(
	string path
)

Parameters

path
Type: SystemString
The path on which to create the DirectoryInfo.
Remarks
This constructor does not check if a directory exists. This constructor is a placeholder for a string that is used to access the disk in subsequent operations. The path parameter can be a file name, including a file on a Universal Naming Convention (UNC) share.
See Also