Constants.vbReadOnly Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that the file is a read-only file for file-access functions.
public: Microsoft::VisualBasic::FileAttribute vbReadOnly = 1;
public const Microsoft.VisualBasic.FileAttribute vbReadOnly = 1;
val mutable vbReadOnly : Microsoft.VisualBasic.FileAttribute
Public Const vbReadOnly As FileAttribute = 1
Field Value
Value = 1Remarks
When 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.