Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpResponse::Output Property

 

Enables output of text to the outgoing HTTP response stream.

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

public:
property TextWriter^ Output {
	TextWriter^ get();
	void set(TextWriter^ value);
}

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:
© 2017 Microsoft