IVsFrameworkMultiTargeting.GetFrameworkAssemblies Method

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

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

Syntax

'Declaration
Function GetFrameworkAssemblies ( _
    pwszTargetFrameworkMoniker As String, _
    atAssemblyType As UInteger, _
    <OutAttribute> ByRef prgAssemblyPaths As Array _
) As Integer
int GetFrameworkAssemblies(
    string pwszTargetFrameworkMoniker,
    uint atAssemblyType,
    out Array prgAssemblyPaths
)
int GetFrameworkAssemblies(
    [InAttribute] String^ pwszTargetFrameworkMoniker, 
    [InAttribute] unsigned int atAssemblyType, 
    [OutAttribute] Array^% prgAssemblyPaths
)
abstract GetFrameworkAssemblies : 
        pwszTargetFrameworkMoniker:string * 
        atAssemblyType:uint32 * 
        prgAssemblyPaths:Array byref -> int
function GetFrameworkAssemblies(
    pwszTargetFrameworkMoniker : String, 
    atAssemblyType : uint, 
    prgAssemblyPaths : Array
) : int

Parameters

  • pwszTargetFrameworkMoniker
    Type: String

    [in] The moniker of the target framework.

  • atAssemblyType
    Type: UInt32

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

  • prgAssemblyPaths
    Type: Array%

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsFrameworkMultiTargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace