Method
FolderItem.CreateVirtualVolume
Warning
This item was deprecated in version 2019r3. There is no replacement.
Description
Creates and formats a new VirtualVolume at the location specified by the FolderItem.
Sample code
This example creates a VirtualVolume.
Var vv As VirtualVolume
Var realFile As FolderItem
Var virtFile As FolderItem
Var output As TextOutputStream
realFile = GetFolderItem("VV")
vv = realFile.CreateVirtualVolume
If vv = Nil Then
MessageBox("Unable to create virtual volume")
Else
virtFile = vv.Root.Child("Virtual File.txt")
output = TextOutputStream.Create(virtFile)
output.Write("Hello world!")
End If
Compatibility
All project types on all supported operating systems.
See also
FolderItem parent class; VirtualVolume class