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.2
Syntaxpublic FileInfo(
string fileName
)
Public Sub New (
fileName As String
)
public:
FileInfo(
String^ fileName
)
new :
fileName : string -> FileInfo
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.
RemarksThis 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