IVsTargetFrameworkAssemblies::GetSystemAssemblies Method (UInt32, IEnumSystemAssemblies^)
Visual Studio 2015
Gets an enumeration containing the system assembly reference for a given framework version.
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::Int32If 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
);
Show: