Share via


AssemblyReferences.AddFromFile Method (String)

 

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

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

Syntax

AssemblyReference AddFromFile(
    string bstrPath
)
AssemblyReference^ AddFromFile(
    String^ bstrPath
)
abstract AddFromFile : 
        bstrPath:string -> AssemblyReference
Function AddFromFile (
    bstrPath As String
) As AssemblyReference

Parameters

  • bstrPath
    Type: System.String

    The path to a .dll file to be added.

Return Value

Type: VsWebSite.AssemblyReference

An AssemblyReference object.

See Also

VSWebSite
AssemblyReference
AssemblyReferences Interface
VsWebSite Namespace

Return to top