Name
GetAttr Function — Microsoft. VisualBasic.FileSystem
Synopsis
GetAttr(pathname
)
pathname
required; StringFilename and an optional pathname
Return Value
An integer representing the sum of the following constants or members
of the FileAttribute
enumeration, which reflect
the attributes set for the file:
FileAttribute Numeration |
Constant |
Value |
Description |
Normal |
|
0 |
Normal |
ReadOnly |
|
1 |
Read-only |
Hidden |
|
2 |
Hidden |
System |
|
4 |
System |
Directory |
|
16 |
Directory or folder |
Archive |
|
32 |
File has changed since last backup |
Description
Determines which attributes have been set for a file or directory
Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.