System.Web.UI.Control.IsLiteralContent Method

Determines if the server control holds only literal content.

Syntax

protected bool IsLiteralContent ()

Returns

true if the server control contains solely literal content; otherwise false.

Remarks

When this method returns true, the server control's collection holds a single literal control.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0