Partager via


VSWebPackage.OpenWebSite Method

Opens a Web site.

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

Syntax

'Declaration
Function OpenWebSite ( _
    bstrUrl As String, _
    options As OpenWebsiteOptions, _
    bAddToSolution As Boolean _
) As Project
Project OpenWebSite(
    string bstrUrl,
    OpenWebsiteOptions options,
    bool bAddToSolution
)
Project^ OpenWebSite(
    [InAttribute] String^ bstrUrl, 
    [InAttribute] OpenWebsiteOptions options, 
    [InAttribute] bool bAddToSolution
)
abstract OpenWebSite : 
        bstrUrl:string * 
        options:OpenWebsiteOptions * 
        bAddToSolution:bool -> Project
function OpenWebSite(
    bstrUrl : String, 
    options : OpenWebsiteOptions, 
    bAddToSolution : boolean
) : 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 EnvDTE object.

.NET Framework Security

See Also

Reference

VSWebPackage Interface

VsWebSite Namespace