HtmlUtilGetHtmlCommentText Method

Return the text of the provided HTML comment-formatted string.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static string GetHtmlCommentText(
	string htmlComment
)

Parameters

htmlComment  String
HTML comment-formatted string with the syntax <!-- Content -->

Return Value

String
The text contents of the provided comment string.

See Also