IHTMLCommentElement

IHTMLCommentElement


This interface indicates a comment that will not be displayed.

IHTMLCommentElement Methods
put_text   get_text  

IHTMLCommentElement::put_text

HRESULT put_text(
    BSTR v
);

Sets the text contained within the COMMENT object.

v
String specifying the text.

See also get_text

IHTMLCommentElement::get_text

HRESULT get_text(
    BSTR *p
);

Retrieves the text contained within the COMMENT object.

p
Address of a string variable that receives the text.

The text is formatted within the current context of the document.

See also put_text

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.