Constructors: NewFileInfo

NewFileInfo

Creates a new FileInfo object used to describe and manage a file.



 Public Function NewFileInfo(
	  ByRef FileName As String ) As FileInfo

Parameters

FileName
[ByRef] String. The name of the file to manage (may need path information as well.)

Return Values

FileInfo -  The FileInfo object to manage a file.

Remarks

When a FileInfo object is first created, it does not verify the existence of the actual file. Once access to the file through the object is attempted, the file will be verified at that time. Portions of the object that doesnt directly interact with the file will not verify the existence of the file.

See Also

Project CorLib Overview

Class Constructors Overview