Share via


AssemblyReferences.AddFromFile Method

Adds an AssemblyReference object to the AssemblyReferences collection from the specified file path.

Namespace:  VsWebSite
Assembly:  VsWebSite.Interop (in VsWebSite.Interop.dll)

Syntax

'Declaration
Function AddFromFile ( _
    bstrPath As String _
) As AssemblyReference
AssemblyReference AddFromFile(
    string bstrPath
)
AssemblyReference^ AddFromFile(
    [InAttribute] String^ bstrPath
)
abstract AddFromFile : 
        bstrPath:string -> AssemblyReference 
function AddFromFile(
    bstrPath : String
) : AssemblyReference

Parameters

  • bstrPath
    Type: System.String
    The path to a .dll file to be added.

Return Value

Type: VsWebSite.AssemblyReference
An AssemblyReference object.

.NET Framework Security

See Also

Reference

AssemblyReferences Interface

VsWebSite Namespace

VSWebSite

AssemblyReference