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.StringThe 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.
options
Type: VsWebSite.OpenWebsiteOptionsA OpenWebsiteOptions object that specifies how the Web site can be opened.
bAddToSolution
Type: System.BooleanA 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