Dela via


IVsTrackProjectRetargeting2.RegisterSetupDriver Method

Registers the setup driver.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

Syntax

'Declaration
Function RegisterSetupDriver ( _
    driverId As Guid, _
    pDriver As IVsProjectAcquisitionSetupDriver _
) As Integer
int RegisterSetupDriver(
    Guid driverId,
    IVsProjectAcquisitionSetupDriver pDriver
)
int RegisterSetupDriver(
    [InAttribute] Guid driverId, 
    [InAttribute] IVsProjectAcquisitionSetupDriver^ pDriver
)
abstract RegisterSetupDriver : 
        driverId:Guid * 
        pDriver:IVsProjectAcquisitionSetupDriver -> int
function RegisterSetupDriver(
    driverId : Guid, 
    pDriver : IVsProjectAcquisitionSetupDriver
) : int

Parameters

  • driverId
    Type: Guid

    The driver ID.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargeting2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace