共用方式為


IVsTrackProjectRetargeting2.RegisterSetupDriver Method

Definition

Registers the setup driver.

public:
 int RegisterSetupDriver(Guid driverId, Microsoft::VisualStudio::Shell::Interop::IVsProjectAcquisitionSetupDriver ^ pDriver);
public int RegisterSetupDriver (Guid driverId, Microsoft.VisualStudio.Shell.Interop.IVsProjectAcquisitionSetupDriver pDriver);
abstract member RegisterSetupDriver : Guid * Microsoft.VisualStudio.Shell.Interop.IVsProjectAcquisitionSetupDriver -> int
Public Function RegisterSetupDriver (driverId As Guid, pDriver As IVsProjectAcquisitionSetupDriver) As Integer

Parameters

driverId
Guid

The driver ID.

pDriver
IVsProjectAcquisitionSetupDriver

The driver.

Returns

The HRESULT.

Applies to