Udostępnij za pośrednictwem


File Attribute Constants for Visual Basic 6.0 Users

The following table shows the Visual Basic 6.0 File Attribute constants and their Visual Basic 2008 equivalents.

Note

For backward compatibility, you can still use Visual Basic 6.0 File Attribute constants in your Visual Basic 2008 code. For more information, see FileAttribute Enumeration.

Visual Basic 6.0

Visual Basic 2008 Equivalent

vbNormal

FileAttribute.Normal

vbReadOnly

FileAttribute.ReadOnly

vbHidden

FileAttribute.Hidden

vbSystem

FileAttribute.System

vbVolume

FileAttribute.Volume

vbDirectory

FileAttribute.Directory

vbArchive

FileAttribute.Archive

vbAlias

No equivalent

See Also

Reference

FileAttribute Enumeration

Other Resources

Constant Equivalents for Visual Basic 6.0 Users

Constants and Enumerations in Visual Basic