Freigeben über


IVsTrackProjectRetargeting2.PromptForProjectRetarget Method

Definition

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.

Applies to