Determines wether or not the passed in string contains any HTML tags

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool IsHtml(
	string text
)
Visual Basic
Public Shared Function IsHtml ( 
	text As String
) As Boolean

Parameters

text
Type: System..::..String
Text to be inspected

Return Value

True for HTML and False for plain text

Remarks