IVsTargetFrameworkAssemblies::GetTargetFrameworkDescription Method (UInt32, String^)
Visual Studio 2015
Gets a descriptive string for a framework version.
Assembly: Microsoft.VisualStudio.Shell.Interop.9.0 (in Microsoft.VisualStudio.Shell.Interop.9.0.dll)
int GetTargetFrameworkDescription( unsigned int targetVersion, [OutAttribute] String^% pszDescription )
Parameters
- targetVersion
-
Type:
System::UInt32
[in] A WellKnownTargetFrameworkVersions value specifying the required framework version.
- pszDescription
-
Type:
System::String^
[out] String describing the framework version.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From compsvcspkg90.idl:
HRESULT GetRequiredTargetFrameworkVersion(
[in] LPCOLESTR szAssemblyFile,
[out] TARGETFRAMEWORKVERSION *pTargetFrameworkVersion
);
Show: