IVsTargetFrameworkAssemblies.GetTargetFrameworkDescription Method
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)
Syntax
'Declaration
Function GetTargetFrameworkDescription ( _
targetVersion As UInteger, _
<OutAttribute> ByRef pszDescription As String _
) As Integer
int GetTargetFrameworkDescription(
uint targetVersion,
out string pszDescription
)
int GetTargetFrameworkDescription(
[InAttribute] unsigned int targetVersion,
[OutAttribute] String^% pszDescription
)
abstract GetTargetFrameworkDescription :
targetVersion:uint32 *
pszDescription:string byref -> int
function GetTargetFrameworkDescription(
targetVersion : uint,
pszDescription : String
) : int
Parameters
targetVersion
Type: UInt32[in] A WellKnownTargetFrameworkVersions value specifying the required framework version.
pszDescription
Type: String%[out] String describing the framework version.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From compsvcspkg90.idl:
HRESULT GetRequiredTargetFrameworkVersion(
[in] LPCOLESTR szAssemblyFile,
[out] TARGETFRAMEWORKVERSION *pTargetFrameworkVersion
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.