Microsoft DirectX 8.1 (Visual Basic)

DirectXFileEnum.GetNextDataObject

Retrieves the next top-level object in the Microsoft® DirectX® file.

object.GetNextDataObject() As DirectXFileData

Parts

object
Object expression that resolves to a DirectXFileEnum object.

Return Values

Returns a DirectXFileData object, representing the returned file data object.

Error Codes

If the method fails, an error is raised and Err.Number can be set to one of the following values.

DXFILEERR_BADVALUE
DXFILEERR_NOMOREOBJECTS

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

Remarks

Top-level objects are always data objects. Data reference objects and binary objects can only be children of data objects.