AssemblyReferences.AddFromFile(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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