共用方式為


IVsDesignTimeAssemblyResolution.ResolveAssemblyPathInTargetFx Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Function ResolveAssemblyPathInTargetFx ( _
    prgAssemblySpecs As String(), _
    cAssembliesToResolve As UInteger, _
    <OutAttribute> prgResolvedAssemblyPaths As VsResolvedAssemblyPath(), _
    <OutAttribute> ByRef pcResolvedAssemblyPaths As UInteger _
) As Integer
'用途
Dim instance As IVsDesignTimeAssemblyResolution
Dim prgAssemblySpecs As String()
Dim cAssembliesToResolve As UInteger
Dim prgResolvedAssemblyPaths As VsResolvedAssemblyPath()
Dim pcResolvedAssemblyPaths As UInteger
Dim returnValue As Integer

returnValue = instance.ResolveAssemblyPathInTargetFx(prgAssemblySpecs, _
    cAssembliesToResolve, prgResolvedAssemblyPaths, _
    pcResolvedAssemblyPaths)
int ResolveAssemblyPathInTargetFx(
    string[] prgAssemblySpecs,
    uint cAssembliesToResolve,
    VsResolvedAssemblyPath[] prgResolvedAssemblyPaths,
    out uint pcResolvedAssemblyPaths
)
int ResolveAssemblyPathInTargetFx(
    [InAttribute] array<String^>^ prgAssemblySpecs, 
    [InAttribute] unsigned int cAssembliesToResolve, 
    [OutAttribute] array<VsResolvedAssemblyPath>^ prgResolvedAssemblyPaths, 
    [OutAttribute] unsigned int% pcResolvedAssemblyPaths
)
abstract ResolveAssemblyPathInTargetFx : 
        prgAssemblySpecs:string[] * 
        cAssembliesToResolve:uint32 * 
        prgResolvedAssemblyPaths:VsResolvedAssemblyPath[] byref * 
        pcResolvedAssemblyPaths:uint32 byref -> int 
function ResolveAssemblyPathInTargetFx(
    prgAssemblySpecs : String[], 
    cAssembliesToResolve : uint, 
    prgResolvedAssemblyPaths : VsResolvedAssemblyPath[], 
    pcResolvedAssemblyPaths : uint
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsDesignTimeAssemblyResolution Interface

IVsDesignTimeAssemblyResolution Members

Microsoft.VisualStudio.Shell.Interop Namespace