IVsTargetFrameworkAssemblies::GetSystemAssemblies Method (UInt32, IEnumSystemAssemblies^)

 

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)

int GetSystemAssemblies(
	unsigned int targetVersion,
	[OutAttribute] IEnumSystemAssemblies^% pAssemblies
)

Parameters

targetVersion
Type: System::UInt32

[out] A WellKnownTargetFrameworkVersions value specifying the required framework version.

pAssemblies
Type: Microsoft.VisualStudio.Shell.Interop::IEnumSystemAssemblies^

[out] A IEnumSystemAssemblies value specifying the required framework version.

Return Value

Type: System::Int32

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

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:

From compsvcspkg90.idl:

HRESULT GetSystemAssemblies(
    [in] TARGETFRAMEWORKVERSION targetVersion,
    [out] IEnumSystemAssemblies **pAssemblies
);
Return to top
Show: