Home > Language Reference > Classes > StreamFile
Attributes Property
File attributes.
Syntax
Public Property Get Attributes() As HbFileAttribute
Public Property Let Attributes(ByVal eAttributes As HbFileAttribute)
| Parameter | Description |
| eAttributes | New file attributes. |
Remarks
The Attributes property returns or sets file attributes. Like most of this object's functionality, calling this property causes a runtime error if the file has not previously been opened using the Open method.
The value returned or acepted by this property can be any combination of the following values:
| Constant | Value | Description |
| hbFileAttrArchive | &H0020 | Archived file or directory. |
| hbFileAttrDirectory | &H0010 | Directory. |
| hbFileAttrHidden | &H0002 | Hidden file or directory. |
| hbFileAttrLink | &H0040 | Symbolic link |
| hbFileAttrReadOnly | &H0001 | Read only file or directory. |
| hbFileAttrSystem | &H0004 | System file or directory. |
| hbFileAttrVolumeLabel | &H0008 | System file containing the volume name. |
Although it does not cause an error, it is strongly recommended that you do not use this property to modify the hbFileAttrDirectory, hbFileAttrLink and hbFileAttrVolumeLabel attributes of a file. These attributes are used by the file management system and modifying them may make the card unreadable.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | Requires an expansion slot. |