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