IVsIntellisenseProject.AddAssemblyReference – metoda (String)
Přidá do projektu odkaz na sestavení.
Obor názvů: Microsoft.VisualStudio.Shell.Interop
Sestavení: Microsoft.VisualStudio.Shell.Interop.8.0 (v Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntaxe
int AddAssemblyReference(
string bstrAbsPath
)
int AddAssemblyReference(
String^ bstrAbsPath
)
abstract AddAssemblyReference :
bstrAbsPath:string -> int
Function AddAssemblyReference (
bstrAbsPath As String
) As Integer
Parametry
- bstrAbsPath
[v] Řetězec obsahující úplnou cestu k sestavení.
Vrácená hodnota
Type: System.Int32
Pokud metoda uspěje, vrací S_OK.Pokud se nezdaří, vrátí kód chyby.
Viz také
IVsIntellisenseProject – rozhraní
Microsoft.VisualStudio.Shell.Interop – obor názvů
Zpátky na začátek