DirectoryInfo Constructor (String, PathFormat) |
[AlphaFS] Initializes a new instance of the
DirectoryInfo class on the specified path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public DirectoryInfo(
string path,
PathFormat pathFormat
)
Public Sub New (
path As String,
pathFormat As PathFormat
)
public:
DirectoryInfo(
String^ path,
PathFormat pathFormat
)
new :
path : string *
pathFormat : PathFormat -> DirectoryInfo
Parameters
- path
- Type: SystemString
The path on which to create the DirectoryInfo. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
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.
See Also