Name
FileAttributes
Synopsis
This enumeration represents the various attributes a file can have in the .NET environment; many, if not most, of these attributes parallel the standard Win32 filesystem attributes of the same name.
Public Enum FileAttributes ReadOnly = &H000000001 Hidden = &H000000002 System = &H000000004 Directory = &H000000010 Archive = &H000000020 Device = &H000000040 Normal = &H000000080 Temporary = &H000000100 SparseFile = &H000000200 ReparsePoint = &H000000400 Compressed = &H000000800 Offline = &H000001000 NotContentIndexed = &H000002000 Encrypted = &H000004000 End Enum
Hierarchy
System.Object→System.ValueType→ System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→ FileAttributes
Returned By
File.GetAttributes()
, FileSystemInfo.Attributes
Passed To
File.SetAttributes()
, FileSystemInfo.Attributes
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.