Microsoft DirectX 8.1 (Visual Basic) |
Creates and adds a data reference object as a child object.
object.AddDataReference( _ Name As String, _ Guid As String)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
DXFILEERR_BADALLOC |
DXFILEERR_BADVALUE |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
For this method to succeed, either the Name or Guid parameter must be a non-empty string.