AssemblyReferences.AddFromGAC Method
Adds an AssemblyReference object representing an assembly in the GAC.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
'Declaration
Function AddFromGAC ( _
bstrAssemblyName As String _
) As AssemblyReference
AssemblyReference AddFromGAC(
string bstrAssemblyName
)
AssemblyReference^ AddFromGAC(
[InAttribute] String^ bstrAssemblyName
)
abstract AddFromGAC :
bstrAssemblyName:string -> AssemblyReference
function AddFromGAC(
bstrAssemblyName : String
) : AssemblyReference
Parameters
- bstrAssemblyName
Type: System.String
The fully qualified strong name of an assembly in the GAC.
Return Value
Type: VsWebSite.AssemblyReference
An AssemblyReference object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.