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.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 EnvDTE object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.