다음을 통해 공유


VSWebPackage.OpenWebSite 메서드

웹 사이트를 엽니다.

네임스페이스:  VsWebSite
어셈블리:  VsWebSite.Interop(VsWebSite.Interop.dll)

구문

‘선언
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

매개 변수

  • bstrUrl
    형식: String

    열려는 웹 사이트의 URL입니다. 이 URL은 디스크 폴더에 대한 경로, HTTP URL 또는 FTP URL이 될 수 있습니다. 이 매개 변수에는 file:// 프로토콜을 사용하는 URL이 지원되지 않습니다.

  • bAddToSolution
    형식: Boolean

    웹 사이트가 솔루션에 추가되는지 여부를 지정하는 부울 값입니다.

반환 값

형식: Project
EnvDTE 개체

.NET Framework 보안

참고 항목

참조

VSWebPackage 인터페이스

VsWebSite 네임스페이스