Metoda IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx — (String[], UInt32, VsResolvedAssemblyPath , UInt32)
Usuwa ścieżki zestawu w środowiska .NET Framework.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Interop
Zestaw: Microsoft.VisualStudio.Shell.Interop.10.0 (w Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Składnia
int ResolveAssemblyPathInTargetFx(
string[] prgAssemblySpecs,
uint cAssembliesToResolve,
VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
out uint pcResolvedAssemblyPaths
)
int ResolveAssemblyPathInTargetFx(
array<String^>^ prgAssemblySpecs,
unsigned int cAssembliesToResolve,
array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths,
[OutAttribute] unsigned int% pcResolvedAssemblyPaths
)
abstract ResolveAssemblyPathInTargetFx :
prgAssemblySpecs:string[] *
cAssembliesToResolve:uint32 *
prgResolvedAssemblyPaths:VsResolvedAssemblyPath[] *
pcResolvedAssemblyPaths:uint32 byref -> int
Function ResolveAssemblyPathInTargetFx (
prgAssemblySpecs As String(),
cAssembliesToResolve As UInteger,
prgResolvedAssemblyPaths As VsResolvedAssemblyPath(),
<OutAttribute> ByRef pcResolvedAssemblyPaths As UInteger
) As Integer
Parametry
prgAssemblySpecs
Type: System.String[]Lista nazw zestawów, które muszą zostać rozpoznane.
cAssembliesToResolve
Type: System.UInt32Liczba nazw zestawów przekazanych w prgAssemblySpecs.
prgResolvedAssemblyPaths
Type: Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[][out w] Ścieżki odwołanie do zestawu rozwiązania. Obiekt wywołujący musi wstępnie przydzielić tej tablicy liczby zestawów do rozwiązania (cAssembliesToResolve).
pcResolvedAssemblyPaths
Type: System.UInt32Liczba ścieżki zestawu rozwiązania.
Wartość zwracana
Type: System.Int32
Jeśli metoda zakończy się pomyślnie, zwraca S_OK. Jeśli nie, zwraca kod błędu.
Zobacz też
Interfejs IVsDesignTimeAssemblyResolution
Przestrzeń nazw Microsoft.VisualStudio.Shell.Interop
Powrót do początku