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.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public FileInfo(
string fileName,
PathFormat pathFormat
)
Public Sub New (
fileName As String,
pathFormat As PathFormat
)
public:
FileInfo(
String^ fileName,
PathFormat pathFormat
)
new :
fileName : string *
pathFormat : PathFormat -> 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. - 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