Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.StringThe path to a .dll file to be added.
Return Value
Type: VsWebSite.AssemblyReference
An AssemblyReference object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.