| title | My.Response Object | ||
|---|---|---|---|
| ms.date | 07/20/2015 | ||
| ms.prod | .net | ||
| ms.suite | |||
| ms.technology |
|
||
| ms.topic | article | ||
| f1_keywords |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | 626359bc-3165-40b4-bfaf-2c610e26eb5b | ||
| caps.latest.revision | 9 | ||
| author | dotnet-bot | ||
| ms.author | dotnetcontent |
Gets the xref:System.Web.HttpResponse object associated with the xref:System.Web.UI.Page. This object allows you to send HTTP response data to a client and contains information about that response.
The My.Response object contains the current xref:System.Web.HttpResponse object associated with the page.
The My.Response object is only available for [!INCLUDEvstecasp] applications.
The following example gets the header collection from the My.Request object and uses the My.Response object to write it to the ASP.NET page.
[!code-vbVbVbalrMyWeb#1]
xref:System.Web.HttpResponse
My.Request Object