Microsoft DirectX 8.0 (Visual Basic)

Direct3DResource8.GetType

Returns the type of the resource.

object.GetType() As CONST_D3DRESOURCETYPE

Parts

object
Object expression that resolves to a Direct3DResource8 object.

Return Values

Returns a member of the CONST_D3DRESOURCETYPE enumeration, identifying the type of the resource.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

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 Direct3DResource8.