此类型具有 SecurityCriticalAttribute 特性,此特性将其限定为只能由 .NET Framework for Silverlight 类库在内部使用。使用此类型的任何成员的应用程序代码将引发 MethodAccessException。
此枚举有一个 FlagsAttribute 特性,通过该特性可使其成员值按位组合。
命名空间: Microsoft.TeamFoundation.Common.Internal
程序集: Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)
语法
声明
<FlagsAttribute> _
Public Enumeration FileAttributes
[FlagsAttribute]
public enum FileAttributes
成员
| 成员名称 | 说明 | |
|---|---|---|
| Archive | ||
| BackupSemantics | ||
| Compressed | ||
| DeleteOnClose | ||
| Device | ||
| Directory | ||
| Encrypted | ||
| FirstPipeInstance | ||
| Hidden | ||
| NoBuffering | ||
| Normal | ||
| NotContentIndexed | ||
| Offline | ||
| OpenNoRecall | ||
| OpenReparsePoint | ||
| Overlapped | ||
| PosixSemantics | ||
| RandomAccess | ||
| Readonly | ||
| ReparsePoint | ||
| SequentialScan | ||
| SparseFile | ||
| System | ||
| Temporary | ||
| Write_Through |