FileAttribute Enumeration
The document is archived and information here might be outdated

FileAttribute Enumeration

When you call the Dir, GetAttr, or SetAttr functions, you can use the FileAttribute enumeration in your code in place of the actual values.

FileAttribute Enumeration Members

The Attributes argument takes the following FileAttribute enumeration members:

Member Constant Description
Normal vbNormal Normal (default for Dir and SetAttr). No special characteristics apply to this file.
ReadOnly vbReadOnly Read only.
Hidden vbHidden Hidden.
System vbSystem System file.
Volume vbVolume Volume label.
Directory vbDirectory Directory or folder.
Archive vbArchive File has changed since last backup.

Smart Device Developer Notes

This enumeration is not supported.


Namespace: Microsoft.VisualBasic

Assembly: Microsoft Visual Basic .NET Runtime (in Microsoft.VisualBasic.dll)

See Also

Intrinsic Constants and Enumerations | Dir Function | GetAttr Function | SetAttr Function

© 2016 Microsoft