Compartilhar via


Método IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx (String[], UInt32, VsResolvedAssemblyPath , UInt32)

 

Publicado: abril de 2016

Resolve os caminhos de montagem no destino.NET framework.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (em Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Sintaxe

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

Parâmetros

  • prgAssemblySpecs
    A lista de nomes de montagem que precisam ser resolvidos.
  • cAssembliesToResolve
    O número de nomes assembly passado em prgAssemblySpecs.
  • prgResolvedAssemblyPaths
    [in, out] Os caminhos de referência de assembly resolvida.O chamador precisa a pré-alocação essa matriz para o número de módulos (assemblies) para resolver (cAssembliesToResolve).
  • pcResolvedAssemblyPaths
    O número de caminhos de assembly resolvida.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Consulte também

Interface IVsDesignTimeAssemblyResolution
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo