更新 : 2007 年 11 月
対応するファイル パスを指定することによって、AssemblyReference オブジェクトを AssemblyReferences コレクションに追加します。
名前空間 : VsWebSite
アセンブリ : VsWebSite.Interop (VsWebSite.Interop.dll 内)
構文
'宣言
Function AddFromFile ( _
bstrPath As String _
) As AssemblyReference
'使用
Dim instance As AssemblyReferences
Dim bstrPath As String
Dim returnValue As AssemblyReference
returnValue = instance.AddFromFile(bstrPath)
AssemblyReference AddFromFile(
string bstrPath
)
AssemblyReference^ AddFromFile(
[InAttribute] String^ bstrPath
)
function AddFromFile(
bstrPath : String
) : AssemblyReference
パラメータ
bstrPath
型 : System.String追加する .dll ファイルのパス。
戻り値
型 : VsWebSite.AssemblyReference
AssemblyReference オブジェクト。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。