Edit

Share via


WebItem(String, WebClass, String) Constructor

Definition

Initializes a new instance of the WebItem class.

public WebItem (string Name, Microsoft.VisualBasic.Compatibility.VB6.WebClass AssociatedWebClass, string HtmlTemplateFilename = "");
new Microsoft.VisualBasic.Compatibility.VB6.WebItem : string * Microsoft.VisualBasic.Compatibility.VB6.WebClass * string -> Microsoft.VisualBasic.Compatibility.VB6.WebItem
Public Sub New (Name As String, AssociatedWebClass As WebClass, Optional HtmlTemplateFilename As String = "")

Parameters

Name
String

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

AssociatedWebClass
WebClass

The WebClass object that contains this WebItem.

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