VSWebProjectItem Interface

 

Provides a project item with Web site-specific functionality.

Namespace:   VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

[GuidAttribute("C77EB2D2-F01E-4C87-8C91-262213C40B31")]
public interface VSWebProjectItem
[GuidAttribute("C77EB2D2-F01E-4C87-8C91-262213C40B31")]
public interface class VSWebProjectItem
[<GuidAttribute("C77EB2D2-F01E-4C87-8C91-262213C40B31")>]
type VSWebProjectItem = interface end
<GuidAttribute("C77EB2D2-F01E-4C87-8C91-262213C40B31")>
Public Interface VSWebProjectItem

Properties

Name Description
System_CAPS_pubproperty ContainingProject

Gets a reference to the project in the DTE instance that contains this Web service.

System_CAPS_pubproperty DTE

Gets a DTE2 object that contains a reference to the Web site.

System_CAPS_pubproperty ProjectItem

Gets the project item.

System_CAPS_pubproperty RelatedFiles

Gets the related files for the Web project item.

Methods

Name Description
System_CAPS_pubmethod Load()

Loads the file project item.

System_CAPS_pubmethod Unload()

Unloads the file project item.

System_CAPS_pubmethod UpdateLocalCopy()

Updates the local copy of the project item.

System_CAPS_pubmethod UpdateRemoteCopy()

Updates the remote copy of the project item.

System_CAPS_pubmethod WaitUntilReady()

Waits until the project item is ready to continue.

Remarks

The VSWebProjectItem class provides additional functionality for a Web site beyond what is provided by the ProjectItem Automation object. For example, you can load a VSWebProjectItem into a hidden document window and update it on either a local Web site or a remote Web site.

The VSWebProjectItem object is available from the Object property. The VSWebProjectItem object is returned for both file and folder project items.

See Also

VSWebSite
VsWebSite Namespace

Return to top