Compartir a través de


IVsFrameworkMultiTargeting.GetDisplayNameForTargetFx Method

Retrieves the display name of the specified target framework moniker.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function GetDisplayNameForTargetFx ( _
    pwszTargetFrameworkMoniker As String, _
    <OutAttribute> ByRef pbstrDisplayName As String _
) As Integer
int GetDisplayNameForTargetFx(
    string pwszTargetFrameworkMoniker,
    out string pbstrDisplayName
)
int GetDisplayNameForTargetFx(
    [InAttribute] String^ pwszTargetFrameworkMoniker, 
    [OutAttribute] String^% pbstrDisplayName
)
abstract GetDisplayNameForTargetFx : 
        pwszTargetFrameworkMoniker:string * 
        pbstrDisplayName:string byref -> int
function GetDisplayNameForTargetFx(
    pwszTargetFrameworkMoniker : String, 
    pbstrDisplayName : String
) : int

Parameters

  • pwszTargetFrameworkMoniker
    Type: String

    [in] The target framework moniker to use to get the display name.

  • pbstrDisplayName
    Type: String%

    [out, retval] The display name of the target framework.

Return Value

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

.NET Framework Security

See Also

Reference

IVsFrameworkMultiTargeting Interface

Microsoft.VisualStudio.Shell.Interop Namespace