Export (0) Print
Expand All

WebItem Constructor

Initializes a new instance of the WebItem class.

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

public WebItem(
	string Name,
	WebClass AssociatedWebClass,
	string HtmlTemplateFilename
)

Parameters

Name
Type: System.String

A String that contains the Name property for the Visual Basic 6.0 WebClass object.

AssociatedWebClass
Type: Microsoft.VisualBasic.Compatibility.VB6.WebClass

The WebClass object that contains this WebItem.

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.

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft