O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

File Class

Namespace

System.IO

Createable

No

Description

A File object represents a file. The members of the File class are listed in Section .

The Microsoft.VisualBasic.FileSystem class has members that duplicate much of the functionality of the File class. One significant omission from the FileSystem class is that there is no Exists method. Consequently, the File.Exists method is documented in its own entry.

All of the methods of the File class are shared. Consequently, you don’t need to instantiate a File object to access File class methods; you can simply reference the File class itself.

Public Static Methods

AppendText
Copy
Create
CreateText
Delete
Exists
GetAttributes
GetCreationTime
GetLastAccessTime
GetLastWriteTime
Move
Open
OpenRead
OpenText
OpenWrite
SetAttributes
SetCreationTime
SetLastAccessTime
SetLastWriteTime

See Also

Directory Class

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required