Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the Multipurpose Internet Mail Extensions (MIME) type for the binary data.
object.GetMimeType() As String
Returns a String value set to the file's MIME type.
If the method fails, an error is raised and Err.Number may be set to DXFILEERR_BADVALUE.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
When there is no MIME type specified in a Microsoft® DirectX® file for a binary object, the function will return an empty string.