IVsTrackProjectRetargeting2.PromptForProjectRetarget Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prompts for retargeting.
public:
int PromptForProjectRetarget(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ pTarget, System::String ^ szDescription);
public:
int PromptForProjectRetarget(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ pTarget, Platform::String ^ szDescription);
int PromptForProjectRetarget(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHier, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange const & pTarget, std::wstring const & szDescription);
public int PromptForProjectRetarget (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier, Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange pTarget, string szDescription);
abstract member PromptForProjectRetarget : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange * string -> int
Public Function PromptForProjectRetarget (pHier As IVsHierarchy, pTarget As IVsProjectTargetChange, szDescription As String) As Integer
Parameters
- pHier
- IVsHierarchy
The project hierarchy.
- pTarget
- IVsProjectTargetChange
The target.
- szDescription
- String
The description.
Returns
The HRESULT.