Ignore:
Timestamp:
Feb 17, 2007, 6:38:05 PM (17 years ago)
Author:
OverTaker
Message:

index.ab追加とFileSystemInfoの細かい修整。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/IO/FileSystemInfo.ab

    r84 r105  
    1212        Select Case m_FileAttributes
    1313            Case FILE_ATTRIBUTE_ARCHIVE
    14                 Return Archive
     14                Return FileAttributes.Archive
    1515            Case FILE_ATTRIBUTE_COMPRESSED
    16                 Return Compressed
     16                Return FileAttributes.Compressed
    1717            Case FILE_ATTRIBUTE_DIRECTORY
    18                 Return Directory
     18                Return FileAttributes.Directory
    1919            Case FILE_ATTRIBUTE_ENCRYPTED
    20                 Return Encrypted
     20                Return FileAttributes.Encrypted
    2121            Case FILE_ATTRIBUTE_HIDDEN
    22                 Return Hidden
     22                Return FileAttributes.Hidden
    2323            Case FILE_ATTRIBUTE_NORMAL
    24                 Return Normal
     24                Return FileAttributes.Normal
    2525            Case FILE_ATTRIBUTE_OFFLINE
    26                 Return Offline
     26                Return FileAttributes.Offline
    2727            Case FILE_ATTRIBUTE_READONLY
    28                 Return ReadOnly
     28                Return FileAttributes.ReadOnly
    2929            Case FILE_ATTRIBUTE_REPARSE_POINT
    30                 Return ReparsePoint
     30                Return FileAttributes.ReparsePoint
    3131            Case FILE_ATTRIBUTE_SPARSE_FILE
    32                 Return SparseFile
     32                Return FileAttributes.SparseFile
    3333            Case FILE_ATTRIBUTE_SYSTEM
    34                 Return System
     34                Return FileAttributes.System
    3535            Case FILE_ATTRIBUTE_TEMPORARY
    36                 Return Temporary
     36                Return FileAttributes.Temporary
    3737            Case Else
    3838                'Exception
     
    4545        Dim attributes As DWord
    4646        Select Case value
    47             Case Archive
     47            Case FileAttributes.Archive
    4848                attributes = FILE_ATTRIBUTE_ARCHIVE
    49             Case Compressed
     49            Case FileAttributes.Compressed
    5050                attributes = FILE_ATTRIBUTE_COMPRESSED
    51             Case Directory
     51            Case FileAttributes.Directory
    5252                attributes = FILE_ATTRIBUTE_DIRECTORY
    53             Case Hidden
     53            Case FileAttributes.Hidden
    5454                attributes = FILE_ATTRIBUTE_HIDDEN
    55             Case Normal
     55            Case FileAttributes.Normal
    5656                attributes = FILE_ATTRIBUTE_NORMAL
    57             Case Offline
     57            Case FileAttributes.Offline
    5858                attributes = FILE_ATTRIBUTE_OFFLINE
    59             Case ReadOnly
     59            Case FileAttributes.ReadOnly
    6060                attributes = FILE_ATTRIBUTE_READONLY
    61             Case System
     61            Case FileAttributes.System
    6262                attributes = FILE_ATTRIBUTE_SYSTEM
    63             Case Temporary
     63            Case FileAttributes.Temporary
    6464                attributes = FILE_ATTRIBUTE_TEMPORARY
    6565            Case Else
Note: See TracChangeset for help on using the changeset viewer.