Click to return to the Reusing Browser Technology home page    
IHTMLRuleStyle2::get_acce...     IHTMLRuleStyle2::get_bord...     IHTMLRuleStyle2 Interface    
Web Workshop  |  Reusing Browser Technology

IHTMLRuleStyle2::get_behavior Method


Retrieves the value of the behavior property of the element.

Syntax

HRESULT get_behavior(
    BSTR *p
);

Parameters

p
Address of a string (BSTR) that contains the element's behavior location.

Return Value

Returns S_OK if successful, or an error code otherwise.


IHTMLRuleStyle2::put_behavior Method


Sets the value of the behavior property of the element.

Syntax

HRESULT put_behavior(
    BSTR v
);

Parameters

v
String (BSTR) that contains the behavior location 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.