共用方式為


IVsTrackProjectRetargeting2 Interface

Definition

Provides methods for retargeting projects.

public interface class IVsTrackProjectRetargeting2 : Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectRetargeting
public interface class IVsTrackProjectRetargeting2 : Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectRetargeting
__interface IVsTrackProjectRetargeting2 : Microsoft::VisualStudio::Shell::Interop::IVsTrackProjectRetargeting
[System.Runtime.InteropServices.Guid("04B8F50B-D3FD-401D-A41D-D574D0D26136")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTrackProjectRetargeting2 : Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectRetargeting
[<System.Runtime.InteropServices.Guid("04B8F50B-D3FD-401D-A41D-D574D0D26136")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTrackProjectRetargeting2 = interface
    interface IVsTrackProjectRetargeting
Public Interface IVsTrackProjectRetargeting2
Implements IVsTrackProjectRetargeting
Attributes
Implements

Methods

AdviseTrackBatchRetargetingEvents(IVsTrackBatchRetargetingEvents, UInt32)

Subscribes to TrackBatchProjectRetargeting evesnts.

AdviseTrackProjectRetargetingEvents(IVsTrackProjectRetargetingEvents, UInt32)

Subscribes to TrackProjectRetargeting events.

BatchRetargetProject(IVsHierarchy, String, Boolean)

Performs a batch retargeting of the specified project.

BeginRetargetingBatch()

Starts batch retargeting.

BeginRetargetingBatchEx(UInt32)

Starts retargeting with the specified flags.

CheckForProjectRetarget(UInt32, IVsHierarchy)

Checks for projects to retarget.

CheckSolutionForRetarget(UInt32)

Checks the solution for retargeting.

EndRetargetingBatch()

Finish the batch retargeting.

GetProjectTarget(Guid, IVsProjectTargetDescription)

Gets the specified project target.

GetSetupDriver(Guid, IVsProjectAcquisitionSetupDriver)

Gets the specified setup driver.

OnSetTargetFramework(IVsHierarchy, String, String, IVsSetTargetFrameworkWorkerCallback, Boolean)

Occurs when the target framework is sest.

PromptForProjectRetarget(IVsHierarchy, IVsProjectTargetChange, String)

Prompts for retargeting.

RegisterProjectTarget(IVsProjectTargetDescription)

Registers the project target.

RegisterSetupDriver(Guid, IVsProjectAcquisitionSetupDriver)

Registers the setup driver.

UnadviseTrackBatchRetargetingEvents(UInt32)

Unsubscribes from TrackBatchRetargeting events.

UnadviseTrackProjectRetargetingEvents(UInt32)

Unsubscribes from TrackProjectRetargeting

UnregisterProjectTarget(Guid)

Unregisters the project target.

UnregisterSetupDriver(Guid)

Unregisters the setup driver.

Applies to