Home > Language Reference > Classes > VFSVolume
Reference Property
Volume reference.
Syntax
Public Property Get Reference() As Integer
Public Property Let Reference(ByVal iVolRef As Integer)
| Parameter | Description |
| iVolRef | Volume reference. |
Remarks
The Reference property contains the reference number of the volume on which the operations are carried out using this object. The volume reference is a unique number assigned by the system when a card is inserted.
If you try to give this property a value that does not correspond to an actual volume present in the system, a runtime error occurs. The only values allowed are those returned when listing the available volumes with the FindFirstVolume and FindNextVolume functions.
The volume reference returned by this property can be used with the Palm OS® Virtual File System Manager functions, allowing you to access a volume found within HB++ program from a shared library written in C.
Refer to the introduction page for the VFSVolume class for an example of how to use this property.
See also Expansion cards and the VFSDemo sample.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | Requires an expansion slot. |