Gets or sets a value indicating whether the comment is revealed or hidden.

[VBScript]
Public Property IsHidden As Integer
[JScript]
public function get IsHidden() : int;
public function set IsHidden(int);

Property Value

true if the comment is hidden; otherwise, false.

Remarks

If the comment is hidden, the comment's content will be enclosed in HTML comments <!-- ... -->. Browsers that do not support conditional comments will treat this as a regular comment and hence ignore the comment's content entirely.

If the comment is revealed, the comment's content will be rendered in browsers that do not support conditional constructs: <![if expression]>...<![endif]>.

See Also

ConditionalComment Object | ConditionalComment Members | DOM Namespace