Click to return to the Reusing Browser Technology home page    
IHTMLCurrentStyle::get_ba...     IHTMLCurrentStyle::get_bo...     IHTMLCurrentStyle Interfa...    
Web Workshop  |  Reusing Browser Technology

IHTMLCurrentStyle::get_behavior Method


Retrieves the current value of the behavior property of the element.

Syntax

HRESULT get_behavior(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that contains the behavior property of the elememt.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLCurrentStyle::put_behavior Method


Sets the behavior property of the element.

Syntax

HRESULT put_behavior(
    BSTR v
);

Parameters

v
String (BSTR) that contains the behavior property of the element to set.

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.