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
- prgAssemblySpecs
Type: array<System.String[]
- cAssembliesToResolve
Type: System.UInt32
- prgResolvedAssemblyPaths
Type: array<Microsoft.VisualStudio.Shell.Interop.VsResolvedAssemblyPath[]
- pcResolvedAssemblyPaths
Type: System.UInt32%
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDesignTimeAssemblyResolution Interface