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이 지원되지 않습니다.
options
형식: VsWebSite.OpenWebsiteOptions웹 사이트를 열 수 있는 방식을 지정하는 OpenWebsiteOptions 개체입니다.
bAddToSolution
형식: Boolean웹 사이트가 솔루션에 추가되는지 여부를 지정하는 부울 값입니다.
반환 값
형식: Project
EnvDTE 개체
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.