Microsoft DirectX 8.1 (Visual Basic)

DirectXFileObject.GetName

Retrieves a Microsoft® DirectX® file object's name.

object.GetName() As String

Parts

object
Object expression that resolves to a DirectXFileObject object.

Return Values

Returns a String value containing the object's name.

Error Codes

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.

Applies To

This method applies to the following classes, which implement methods from DirectXFileObject.