Redigera

Dela via


WebItem.WriteTemplate(HttpResponse, String) Method

Definition

Processes an HTML template attached to a WebItem object and returns it to the browser.

public void WriteTemplate (System.Web.HttpResponse Response, string HtmlTemplateFilename = "");
member this.WriteTemplate : System.Web.HttpResponse * string -> unit
Public Sub WriteTemplate (Response As HttpResponse, Optional HtmlTemplateFilename As String = "")

Parameters

Response
HttpResponse

A HttpResponse object.

HtmlTemplateFilename
String

Optional. The file name of a Visual Basic 6.0 Template that was associated with the Visual Basic 6.0 WebItem.

Remarks

The WebItem class is used by the upgrade tools to upgrade a Visual Basic 6.0 WebClass project to an ASP.NET Web site project.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to