Changeset 105 for Include/Classes/System/IO/FileSystemInfo.ab
- Timestamp:
- Feb 17, 2007, 6:38:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/FileSystemInfo.ab
r84 r105 12 12 Select Case m_FileAttributes 13 13 Case FILE_ATTRIBUTE_ARCHIVE 14 Return Archive14 Return FileAttributes.Archive 15 15 Case FILE_ATTRIBUTE_COMPRESSED 16 Return Compressed16 Return FileAttributes.Compressed 17 17 Case FILE_ATTRIBUTE_DIRECTORY 18 Return Directory18 Return FileAttributes.Directory 19 19 Case FILE_ATTRIBUTE_ENCRYPTED 20 Return Encrypted20 Return FileAttributes.Encrypted 21 21 Case FILE_ATTRIBUTE_HIDDEN 22 Return Hidden22 Return FileAttributes.Hidden 23 23 Case FILE_ATTRIBUTE_NORMAL 24 Return Normal24 Return FileAttributes.Normal 25 25 Case FILE_ATTRIBUTE_OFFLINE 26 Return Offline26 Return FileAttributes.Offline 27 27 Case FILE_ATTRIBUTE_READONLY 28 Return ReadOnly28 Return FileAttributes.ReadOnly 29 29 Case FILE_ATTRIBUTE_REPARSE_POINT 30 Return ReparsePoint30 Return FileAttributes.ReparsePoint 31 31 Case FILE_ATTRIBUTE_SPARSE_FILE 32 Return SparseFile32 Return FileAttributes.SparseFile 33 33 Case FILE_ATTRIBUTE_SYSTEM 34 Return System34 Return FileAttributes.System 35 35 Case FILE_ATTRIBUTE_TEMPORARY 36 Return Temporary36 Return FileAttributes.Temporary 37 37 Case Else 38 38 'Exception … … 45 45 Dim attributes As DWord 46 46 Select Case value 47 Case Archive47 Case FileAttributes.Archive 48 48 attributes = FILE_ATTRIBUTE_ARCHIVE 49 Case Compressed49 Case FileAttributes.Compressed 50 50 attributes = FILE_ATTRIBUTE_COMPRESSED 51 Case Directory51 Case FileAttributes.Directory 52 52 attributes = FILE_ATTRIBUTE_DIRECTORY 53 Case Hidden53 Case FileAttributes.Hidden 54 54 attributes = FILE_ATTRIBUTE_HIDDEN 55 Case Normal55 Case FileAttributes.Normal 56 56 attributes = FILE_ATTRIBUTE_NORMAL 57 Case Offline57 Case FileAttributes.Offline 58 58 attributes = FILE_ATTRIBUTE_OFFLINE 59 Case ReadOnly59 Case FileAttributes.ReadOnly 60 60 attributes = FILE_ATTRIBUTE_READONLY 61 Case System61 Case FileAttributes.System 62 62 attributes = FILE_ATTRIBUTE_SYSTEM 63 Case Temporary63 Case FileAttributes.Temporary 64 64 attributes = FILE_ATTRIBUTE_TEMPORARY 65 65 Case Else
Note:
See TracChangeset
for help on using the changeset viewer.