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
pszProjectType
Type: String[in] The project type.
pszProjectName
Type: String[in] The project name.
pszTargetedFrameworkMoniker
Type: StringThe moniker for the targeted framework.
dwFlags
Type: UInt32[in] The __FRD_FLAGS options for the retargeting.
pdwOutcome
Type: UInt32%[out] The __FRD_OUTCOME flags that indicate the outcome of the retargeting.
pbDontShowAgain
Type: Int32%[out] Indicates if the dialog is shown again. If true, the dialog is not shown again.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.