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


AssemblyReferences.AddFromFile - метод

Обновлен: Ноябрь 2007

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

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

Синтаксис

'Декларация
Function AddFromFile ( _
    bstrPath As String _
) As AssemblyReference
'Применение
Dim instance As AssemblyReferences
Dim bstrPath As String
Dim returnValue As AssemblyReference

returnValue = instance.AddFromFile(bstrPath)
AssemblyReference AddFromFile(
    string bstrPath
)
AssemblyReference^ AddFromFile(
    [InAttribute] String^ bstrPath
)
function AddFromFile(
    bstrPath : String
) : AssemblyReference

Параметры

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

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

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

Разрешения

См. также

Ссылки

AssemblyReferences Интерфейс

AssemblyReferences - члены

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

VSWebSite

AssemblyReference