| Microsoft DirectX 8.1 (Visual Basic) | 
Frees the specified private data associated with this resource.
object.FreePrivateData( _ 
    RefGuid As DXGUID)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
| D3DERR_INVALIDCALL | 
| D3DERR_NOTFOUND | 
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
This method applies to the following classes, which implement methods from Direct3DResource8.
Direct3DResource8.GetPrivateData, Direct3DResource8.SetPrivateData