Share via


IVsFrameworkRetargetingDlg.ShowFrameworkRetargetingDlg Method

Displays the framework retargeting dialog.

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

Syntax

'Declaration
Function ShowFrameworkRetargetingDlg ( _
    pszProjectType As String, _
    pszProjectName As String, _
    pszTargetedFrameworkMoniker As String, _
    dwFlags As UInteger, _
    <OutAttribute> ByRef pdwOutcome As UInteger, _
    <OutAttribute> ByRef pbDontShowAgain As Integer _
) As Integer
int ShowFrameworkRetargetingDlg(
    string pszProjectType,
    string pszProjectName,
    string pszTargetedFrameworkMoniker,
    uint dwFlags,
    out uint pdwOutcome,
    out int pbDontShowAgain
)
int ShowFrameworkRetargetingDlg(
    [InAttribute] String^ pszProjectType, 
    [InAttribute] String^ pszProjectName, 
    [InAttribute] String^ pszTargetedFrameworkMoniker, 
    [InAttribute] unsigned int dwFlags, 
    [OutAttribute] unsigned int% pdwOutcome, 
    [OutAttribute] int% pbDontShowAgain
)
abstract ShowFrameworkRetargetingDlg : 
        pszProjectType:string * 
        pszProjectName:string * 
        pszTargetedFrameworkMoniker:string * 
        dwFlags:uint32 * 
        pdwOutcome:uint32 byref * 
        pbDontShowAgain:int byref -> int
function ShowFrameworkRetargetingDlg(
    pszProjectType : String, 
    pszProjectName : String, 
    pszTargetedFrameworkMoniker : String, 
    dwFlags : uint, 
    pdwOutcome : uint, 
    pbDontShowAgain : int
) : int

Parameters

  • pszTargetedFrameworkMoniker
    Type: System.String

    The moniker for the targeted framework.

  • pbDontShowAgain
    Type: System.Int32%

    [out] Indicates if the dialog is shown again. If true, the dialog is not shown again.

Return Value

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

.NET Framework Security

See Also

Reference

IVsFrameworkRetargetingDlg Interface

Microsoft.VisualStudio.Shell.Interop Namespace