| File: GetAttributes |
Returns the file attributes (ReadOnly, Hidden, ...)
Public Function GetAttributes( ByVal Path As String ) As FileAttributes
To determine if a specific attribute is being used, the return value will
need to be ANDed with the specific FileAttributes flag.
If Attr And FileAttributes.ReadOnly Then
'... file is readonly
End If
Project VBCorLib Overview Class File Overview File Properties File Methods Exists GetCreationTime