Click or drag to resize
FileInfo Constructor (String, PathFormat)
[AlphaFS] Initializes a new instance of the FileInfo class, which acts as a wrapper for a file path.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public FileInfo(
	string fileName,
	PathFormat pathFormat
)

Parameters

fileName
Type: SystemString
The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Remarks
This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations.
See Also