Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the data for one of the object's members or the data for all members.
object.GetData( _ Name As String, _ Data As Any)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
DXFILEERR_BADARRAYSIZE |
DXFILEERR_BADDATAREFERENCE |
DXFILEERR_BADVALUE |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
This method retrieves the data for required members of a data object but no data for optional (child) members. Use DirectXFileData.GetNextObject to retrieve child objects.