Share via


VSWebPackage.OpenWebSite Method (String, OpenWebsiteOptions, Boolean)

 

Opens a Web site.

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

Syntax

Project OpenWebSite(
    string bstrUrl,
    OpenWebsiteOptions options,
    bool bAddToSolution
)
Project^ OpenWebSite(
    String^ bstrUrl,
    OpenWebsiteOptions options,
    bool bAddToSolution
)
abstract OpenWebSite : 
        bstrUrl:string *
        options:OpenWebsiteOptions *
        bAddToSolution:bool -> Project
Function OpenWebSite (
    bstrUrl As String,
    options As OpenWebsiteOptions,
    bAddToSolution As Boolean
) As Project

Parameters

  • bstrUrl
    Type: System.String

    The URL of the Web site to open. This can be a path to a folder on disk, an HTTP URL, or an FTP URL. This parameter does not support URLs that use the file:// protocol.

  • bAddToSolution
    Type: System.Boolean

    A Boolean value determining whether the Web site is added to the solution.

Return Value

Type: EnvDTE.Project

An T:EnvDTE object.

See Also

VSWebPackage Interface
VsWebSite Namespace

Return to top