Share via


VSWebProjectItem2 Interface

 

Provides a project item with Web site-specific functionality. This interface supports custom tools.

Namespace:   VsWebSite90
Assembly:  VsWebSite.Interop90 (in VsWebSite.Interop90.dll)

Syntax

[GuidAttribute("AC170AC6-D938-4796-BADA-BB4DECE4C2C5")]
public interface VSWebProjectItem2 : VSWebProjectItem
[GuidAttribute("AC170AC6-D938-4796-BADA-BB4DECE4C2C5")]
public interface class VSWebProjectItem2 : VSWebProjectItem
[<GuidAttribute("AC170AC6-D938-4796-BADA-BB4DECE4C2C5")>]
type VSWebProjectItem2 = 
    interface
        interface VSWebProjectItem
    end
<GuidAttribute("AC170AC6-D938-4796-BADA-BB4DECE4C2C5")>
Public Interface VSWebProjectItem2
    Inherits VSWebProjectItem

Properties

Name Description
System_CAPS_pubproperty ContainingProject

System_CAPS_pubproperty DTE

System_CAPS_pubproperty ProjectItem

System_CAPS_pubproperty RelatedFiles

Methods

Name Description
System_CAPS_pubmethod Load()

System_CAPS_pubmethod RunCustomTool()

Runs the single-file generator that is associated with a file in order to dynamically generate a class.

System_CAPS_pubmethod Unload()

System_CAPS_pubmethod UpdateLocalCopy()

System_CAPS_pubmethod UpdateRemoteCopy()

System_CAPS_pubmethod WaitUntilReady()

Remarks

The VSWebProjectItem2 interface inherits all the VSWebProjectItem members and adds a RunCustomTool method.

You can use the Object property to access the VSWebProjectItem2 object, which is returned for both file and folder project items.

A custom tool is a script stored in the App_Code folder that the single-file generator can use to dynamically generate a class.

See Also

VSWebProjectItem
WebFileProperties2
VsWebSite90 Namespace

Return to top