Microsoft DirectX 8.1 (Visual Basic)

DirectXFileData.GetNextObject

Retrieves the next child data object, data reference object, or binary object in the Microsoft® DirectX® file.

object.GetNextObject() As DirectXFileObject

Parts

object
Object expression that resolves to a DirectXFileData object.

Return Values

Returns a DirectXFileObject object, representing the returned child object's file 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.