Share via


FileAttributes Enumeration

Provides attributes for files and directories.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

Syntax

public enum FileAttributes

Remarks

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Version Information

Available in .NET Micro Framework version 3.0 and above.

Members

  Member name Description
Directory The file is a directory.
Hidden The file is hidden, and thus is not included in an ordinary directory listing.
Normal The file is normal and has no other attributes set. This attribute is valid only if used alone.
ReadOnly The file is read-only.

See Also

Reference

System.IO Namespace