Compartir a través de


IVsTargetFrameworkAssemblies.GetSystemAssemblies Method

Gets an enumeration containing the system assembly reference for a given framework version.

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

Syntax

'Declaration
Function GetSystemAssemblies ( _
    targetVersion As UInteger, _
    <OutAttribute> ByRef pAssemblies As IEnumSystemAssemblies _
) As Integer
int GetSystemAssemblies(
    uint targetVersion,
    out IEnumSystemAssemblies pAssemblies
)
int GetSystemAssemblies(
    [InAttribute] unsigned int targetVersion, 
    [OutAttribute] IEnumSystemAssemblies^% pAssemblies
)
abstract GetSystemAssemblies : 
        targetVersion:uint32 * 
        pAssemblies:IEnumSystemAssemblies byref -> int
function GetSystemAssemblies(
    targetVersion : uint, 
    pAssemblies : IEnumSystemAssemblies
) : int

Parameters

Return Value

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

Remarks

The version returned is the version of system assemblies that are installed on a computer with the specified version of the framework.

From compsvcspkg90.idl:

COM Signature

From compsvcspkg90.idl:

HRESULT GetSystemAssemblies(
    [in] TARGETFRAMEWORKVERSION targetVersion,
    [out] IEnumSystemAssemblies **pAssemblies
);

.NET Framework Security

See Also

Reference

IVsTargetFrameworkAssemblies Interface

Microsoft.VisualStudio.Shell.Interop Namespace