Aracılığıyla paylaş


VSWebPackage.OpenWebSite Yöntem

Bir Web sitesini açar.

Ad alanı:  VsWebSite
Derleme:  VsWebSite.Interop (VsWebSite.Interop.dll içinde)

Sözdizimi

'Bildirim
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

Parametreler

  • bstrUrl
    Tür: System.String
    Açmak için Web sitesinin URL'si.Bu disk, http url veya bir ftp URL'sine bir klasör için bir yol olabilir.Bu parametre, file:// protokolünü kullanan URL'leri desteklememektedir.
  • bAddToSolution
    Tür: System.Boolean
    Web sitesi çözümü eklenir olup olmadığını belirleyen bir Boolean değeri.

Dönüş Değeri

Tür: EnvDTE.Project
Bir EnvDTE nesne.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

VSWebPackage Arabirim

VsWebSite Ad Alanı