Share via


AssemblyReferences.AddFromFile(String) Method

Definition

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

public:
 VsWebSite::AssemblyReference ^ AddFromFile(System::String ^ bstrPath);
[System.Runtime.InteropServices.DispId(5)]
public VsWebSite.AssemblyReference AddFromFile (string bstrPath);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member AddFromFile : string -> VsWebSite.AssemblyReference
Public Function AddFromFile (bstrPath As String) As AssemblyReference

Parameters

bstrPath
String

The path to a .dll file to be added.

Returns

An AssemblyReference object.

Attributes

Applies to