IVsTargetFrameworkAssemblies::GetTargetFrameworkDescription Method (UInt32, String^)

 

Gets a descriptive string for a framework version.

Namespace:   Microsoft.VisualStudio.Shell.Interop
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::Int32

If 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
);
Return to top
Show: