Creates a ConditionalComment object containing the specified data.

[VBScript]
Public Function CreateConditionalComment( _
   ByVal condition As String, _
   ByVal hidden As Boolean _
) As ConditionalComment
[JScript]
public function CreateConditionalComment(
   condition : String,
   hidden : Boolean
) : ConditionalComment;

Parameters

condition
The condition expression of the comment.
hidden
true if the comment is hidden, false, otherwise.

Return Value

The new ConditionalComment.

See Also

HTMLDocument Object | HTMLDocument Members | DOM Namespace