Home > Language Reference > Classes > VFSVolume
MediaType Property
Media type.
Syntax
Public Property Get MediaType() As HbMediaType
Remarks
The MediaType property returns the inserted card type. Like most functionality of this object, calling this method without having previously initialized a valid volume reference in the Reference property will cause a runtime error.
The return value of this property can be one of the following constants:
| Constant | Value | Description |
| hbMediaMemoryStick | &H6D73746B | Memory Stick |
| hbMediaCompactFlash | &H63667368 | Compact Flash |
| hbMediaSecureDigital | &H73646967 | Secure Digital |
| hbMediaMultiMediaCard | &H6D6D6364 | MultiMedia Card |
| hbMediaSmartMedia | &H736D6564 | Smart Media |
| hbMediaRAMDisk | &H72616D64 | A RAM disk based media |
| hbMediaInternalDrive | &H49736472 | Internal Drive |
| hbMediaInternalDriveT5 | &H54464653 | Internal Drive on some Tungsten devices. |
| hbMediaHardDrive | &H4844534B | Hard Disk |
| hbMediaEmulator | &H706F7365 | Host file system emulated by the Palm OS® Emulator |
See also Expansion cards and the VFSDemo sample.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 3.0 | Requires an expansion slot. |