The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Constants::vbReadOnly Field
.NET Framework (current version)
Indicates that the file is a read-only file for file-access functions.
Assembly: Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)
Field Value
Type: Microsoft.VisualBasic::FileAttributeWhen you call the Dir, GetAttr, or SetAttr functions, you can use the FileAttribute enumeration in your code in place of the actual values.
The Attributes argument takes the FileAttribute enumeration members.
When performing file I/O operations, the My.Computer.FileSystem object provides greater performance and ease of use than legacy file I/O methods. For more information, see FileSystem object.
.NET Framework
Available since 1.1
Available since 1.1
Show: