System.Web.HttpResponse.Write Method

Writes an object to an HTTP response stream.

Syntax

public void Write (object obj)

Parameters

obj
The object to write to the HTTP output stream.

Remarks

This will invoke object.ToString() method and then write the result to the output stream using the current encoding.

Requirements

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