Microsoft DirectX 8.1 (Visual Basic) |
Retrieves a Microsoft® DirectX® file object's name.
object.GetName() As String
Returns a String value containing the object's name.
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.
This method applies to the following classes, which implement methods from DirectXFileObject.