Sitecore 5.1.1 API

MainUtil.Out Method (String, Boolean)

Writes a line of HTML to the Response output stream.

[Visual Basic]
Overloads Public Shared Sub Out( _
   ByVal text As String, _
   ByVal lineBreak As Boolean _
)
[C#]
public static void Out(
   string text,
   bool lineBreak
);

Parameters

text
A string.
lineBreak
If true, a line break (<br>) will be added to the text.

Remarks

The string is outputted to the Response followed by a trailing <br> tag. The stream is flushed afterwards.

Example

  MainUtil.Out("Hello world");

See Also

MainUtil Class | Sitecore Namespace | MainUtil.Out Overload List | Html