Click or drag to resize

FileInfo Constructor (String)

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
)

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.
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