| Microsoft DirectX 8.1 (Visual Basic) |
Saves a data object and its children to a Microsoft® DirectX® file.
object.SaveData( _
DataObj As DirectXFileData)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
| DXFILEERR_BADARRAYSIZE |
| DXFILEERR_BADVALUE |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.