共用方式為


IVsRetargetProject.Retarget Method

Definition

Execute the retargeting.

public:
 void Retarget(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ logger, System::UInt32 dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ target, System::String ^ szProjectBackupLoaction);
public:
 void Retarget(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane ^ logger, unsigned int dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange ^ target, Platform::String ^ szProjectBackupLoaction);
void Retarget(Microsoft::VisualStudio::Shell::Interop::IVsOutputWindowPane const & logger, unsigned int dwFlags, Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetChange const & target, std::wstring const & szProjectBackupLoaction);
public void Retarget (Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane logger, uint dwFlags, Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange target, string szProjectBackupLoaction);
abstract member Retarget : Microsoft.VisualStudio.Shell.Interop.IVsOutputWindowPane * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetChange * string -> unit
Public Sub Retarget (logger As IVsOutputWindowPane, dwFlags As UInteger, target As IVsProjectTargetChange, szProjectBackupLoaction As String)

Parameters

logger
IVsOutputWindowPane

The logger. Pass in the IVsOutputWindowPane interface.

dwFlags
UInt32

The flags.

target
IVsProjectTargetChange

The target.

szProjectBackupLoaction
String

The backup location.

Applies to