Constructors: NewFileInfo

NewFileInfo

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



 Public Function NewFileInfo(
	  ByVal FileName As String ) As FileInfo

Parameters

FileName
[ByVal] 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 the FileInfo object is first created, it does not verify the existence. of the actual file. Once access to the file through the object is attempt, 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 VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewExternalException NewFileNotFoundException