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
)
Public Sub New (
path As String
)
public:
DirectoryInfo(
String^ path
)
new :
path : string -> DirectoryInfo
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