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: GuidThe driver ID.
pDriver
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectAcquisitionSetupDriverThe driver.
Return Value
Type: Int32
The HRESULT.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.