Constants.vbVolume Constants.vbVolume Constants.vbVolume Constants.vbVolume Field


Indicates the volume label file attribute for file-access functions.

public: Microsoft::VisualBasic::FileAttribute vbVolume = 8;
public const Microsoft.VisualBasic.FileAttribute vbVolume = 8;
val mutable vbVolume : Microsoft.VisualBasic.FileAttribute
Public Const vbVolume As FileAttribute  = 8

Field Value


This attribute is not valid for the SetAttr function.

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.

Applies to

See also