HttpResponse.Output Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Enables output of text to the outgoing HTTP response stream.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

member Output : TextWriter with get, set

Property Value

Type: System.IO.TextWriter

A TextWriter object that enables custom output to the client.

The following example is an ASP.NET page that contains a TextBox control that has its TextMode property set to MultiLine. The page's code takes the text that a user enters in the TextMode, uses the HtmlEncode method to HTML encode it, and the Output property to display the encoded string to the page.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: