WebItem Constructor (String, WebClass, String)


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 = ""


Type: System.String

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

Type: Microsoft.VisualBasic.Compatibility.VB6.WebClass

The WebClass object that contains this WebItem.

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.


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