Поделиться через


AssemblyReferences.AddFromFile - метод

Добавляет объект AssemblyReference в коллекцию AssemblyReferences по заданному пути файла.

Пространство имен:  VsWebSite
Сборка:  VsWebSite.Interop (в VsWebSite.Interop.dll)

Синтаксис

'Декларация
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

Параметры

  • bstrPath
    Тип: System.String
    Путь к DLL-файлу, который необходимо добавить.

Возвращаемое значение

Тип: VsWebSite.AssemblyReference
Объект AssemblyReference.

Безопасность платформы .NET Framework

См. также

Ссылки

AssemblyReferences Интерфейс

VsWebSite - пространство имен

VSWebSite

AssemblyReference