Microsoft DirectX 8.1 (Visual Basic)

DirectXFileSave.SaveData

Saves a data object and its children to a Microsoft® DirectX® file.

object.SaveData( _
    DataObj As DirectXFileData)

Parts

object
Object expression that resolves to a DirectXFileSave object.
DataObj
DirectXFileData object, representing the file data object to save.

Error Codes

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.