共用方式為


IVsFrameworkMultiTargeting.GetFrameworkAssemblies Method

Definition

Enumerates the list of both system and non-system assemblies that correspond to the specified target framework.

public:
 int GetFrameworkAssemblies(System::String ^ pwszTargetFrameworkMoniker, System::UInt32 atAssemblyType, [Runtime::InteropServices::Out] Array ^ % prgAssemblyPaths);
public int GetFrameworkAssemblies (string pwszTargetFrameworkMoniker, uint atAssemblyType, out Array prgAssemblyPaths);
abstract member GetFrameworkAssemblies : string * uint32 * Array -> int
Public Function GetFrameworkAssemblies (pwszTargetFrameworkMoniker As String, atAssemblyType As UInteger, ByRef prgAssemblyPaths As Array) As Integer

Parameters

pwszTargetFrameworkMoniker
String

[in] The moniker of the target framework.

atAssemblyType
UInt32

[in] A __VSFRAMEWORKASSEMBLYTYPE enumeration that indicates the type of framework assembly to enumerate.

prgAssemblyPaths
Array

[out, retval] An array containing the list of framework assemblies.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to