Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Prompts for retargeting.
Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function PromptForProjectRetarget ( _
    pHier As IVsHierarchy, _
    pTarget As IVsProjectTargetChange, _
    szDescription As String _
) As Integer
int PromptForProjectRetarget(
    IVsHierarchy pHier,
    IVsProjectTargetChange pTarget,
    string szDescription
)
int PromptForProjectRetarget(
    [InAttribute] IVsHierarchy^ pHier, 
    [InAttribute] IVsProjectTargetChange^ pTarget, 
    [InAttribute] String^ szDescription
)
abstract PromptForProjectRetarget : 
        pHier:IVsHierarchy * 
        pTarget:IVsProjectTargetChange * 
        szDescription:string -> int
function PromptForProjectRetarget(
    pHier : IVsHierarchy, 
    pTarget : IVsProjectTargetChange, 
    szDescription : String
) : int
Parameters
- pHier 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy- The project hierarchy. 
- pTarget 
 Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange- The target. 
- szDescription 
 Type: String- The description. 
Return Value
Type: Int32
The HRESULT.
.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.