Click to return to the Reusing Browser Technology home page    
IHTMLDataTransfer Interfa...     IHTMLDataTransfer::getDat...     IHTMLDataTransfer Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLDataTransfer::clearData Method


Removes one or more data formats from the IHTML::DataTransfer object.

Syntax

HRESULT clearData(
   BSTR format,
   VARIANT_BOOL *pret
);

Parameters

format
String (BSTR) that specifies the data format to remove from the system clipboard using the IHTML::DataTransfer object. For more information, see the DHTML clearData method.
pret
Address of a VARIANT Boolean structure that returns VARIANT_TRUE or VARIANT_FALSE based on success or failure of the call to clearData.

Return Value

Returns S_OK if successful, or an error code otherwise.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.