更新 : 2007 年 11 月
Web サイトを開きます。
名前空間 : VsWebSite
アセンブリ : VsWebSite.Interop (VsWebSite.Interop.dll 内)
構文
'宣言
Function OpenWebSite ( _
bstrUrl As String, _
options As OpenWebsiteOptions, _
bAddToSolution As Boolean _
) As Project
'使用
Dim instance As VSWebPackage
Dim bstrUrl As String
Dim options As OpenWebsiteOptions
Dim bAddToSolution As Boolean
Dim returnValue As Project
returnValue = instance.OpenWebSite(bstrUrl, _
options, bAddToSolution)
Project OpenWebSite(
string bstrUrl,
OpenWebsiteOptions options,
bool bAddToSolution
)
Project^ OpenWebSite(
[InAttribute] String^ bstrUrl,
[InAttribute] OpenWebsiteOptions options,
[InAttribute] bool bAddToSolution
)
function OpenWebSite(
bstrUrl : String,
options : OpenWebsiteOptions,
bAddToSolution : boolean
) : Project
パラメータ
bstrUrl
型 : System.String開く Web サイトの URL。ディスク上のフォルダのパス、HTTP URL、または FTP URL を指定できます。このパラメータでは、file:// プロトコルを使った URL はサポートされません。
options
型 : VsWebSite.OpenWebsiteOptionsWeb サイトを開く方法を指定する OpenWebsiteOptions オブジェクト。
bAddToSolution
型 : System.BooleanWeb サイトをソリューションに追加するかどうかを示すブール値。
戻り値
型 : EnvDTE.Project
EnvDTE オブジェクト。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。