NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

FileSystemAttributes Enumeration

Provides attributes for files and directories. Not all attributes are applicable to both files and directories. These constants correspond to those in WinNT.h.

[Visual Basic]
Public Enum FileSystemAttributes
[C#]
public enum FileSystemAttributes
[C++]
public enum FileSystemAttributes

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
Archive Indicates the file's archive status. Applications use this attribute to mark files for backup or removal.
Compressed Indicates the file's compression status.
Directory Indicates that the file is a directory.
Encrypted Indicates that the file is encrypted.
Hidden Indicates that the file is hidden, and thus is not included in an ordinary directory listing.
Normal Indicates that the file is normal. The file has no other attributes set. This attribute is valid only if used alone.
NotContentIndexed Indicates that the file will not be indexed by the operating system's content indexing service.
Offline Indicates that the file is offline. The data of the file is not immediately available.
ReadOnly Indicates that the file is read-only.
ReparsePoint Indicates that the file contains a reparse point, which is a block of user-defined data associated with a file or a directory.
SparseFile Indicates that the file is a sparse file. Sparse files are typically large files whose data are mostly zeros.
System Indicates that the file is a system file. The file is part of the operating system or is used exclusively by the operating system.
Temporary Indicates that the file is temporary. File systems attempt to keep all of the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.

Requirements

Namespace: System.IO

Assembly: mscorlib.dll

See Also

System.IO Namespace