WriteTemplate Method
Collapse the table of content
Expand the table of content

WebItem.WriteTemplate Method (HttpResponse, String)

 

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

Namespace:   Microsoft.VisualBasic.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.Compatibility (in Microsoft.VisualBasic.Compatibility.dll)

public void WriteTemplate(
	HttpResponse Response,
	string HtmlTemplateFilename = ""
)

Parameters

Response
Type: System.Web.HttpResponse

A HttpResponse object.

HtmlTemplateFilename
Type: System.String

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

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.

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft