Click to return to the Reusing Browser Technology home page    
IHTMLObjectElement::get_c...     IHTMLObjectElement::get_c...     IHTMLObjectElement Interf...    
Web Workshop  |  Reusing Browser Technology

IHTMLObjectElement::get_code Method


Retrieves a URL that indicates where to find the implementation of the object.

Syntax

HRESULT get_code( 
    BSTR *p 
);

Parameters

p
Address of a string (BSTR) variable that receives the URL. For details, see the code property.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLObjectElement::put_code Method


Sets a URL that indicates where to find the implementation of the object.

Syntax

HRESULT put_code(
    BSTR v 
);

Parameters

v
String (BSTR) that specifies the URL to set. For details, see the code property.

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.