Click to return to the Reusing Browser Technology home page    
IHTMLLinkElement Interfac...     IHTMLLinkElement::get_hre...     IHTMLLinkElement Interfac...    
Web Workshop  |  Reusing Browser Technology

IHTMLLinkElement::get_disabled Method


Retrieves the value of the disabled property of the link element.

Syntax

HRESULT get_disabled(
    VARIANT_BOOL *p
);

Parameters

p
Address of a VARIANT Boolean structure that returns VARIANT_TRUE if the link has been disabled.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

IHTMLLinkElement::put_disabled Method


Sets a pointer to the event handler function associated with the disabled property of the element.

Syntax

HRESULT put_disabled(
    VARIANT_BOOL v
);

Parameters

v
VARIANT Boolean structure that disables the link element when set.

Return Value

Returns S_OK if successful, or an error code otherwise.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0


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.