Partager via


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

See Also

Reference

AssemblyReferences Interface

VsWebSite Namespace

VSWebSite

AssemblyReference