IVsTrackProjectRetargeting2.RegisterProjectTarget Method
Registers the project target.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function RegisterProjectTarget ( _
pTarget As IVsProjectTargetDescription _
) As Integer
int RegisterProjectTarget(
IVsProjectTargetDescription pTarget
)
int RegisterProjectTarget(
[InAttribute] IVsProjectTargetDescription^ pTarget
)
abstract RegisterProjectTarget :
pTarget:IVsProjectTargetDescription -> int
function RegisterProjectTarget(
pTarget : IVsProjectTargetDescription
) : int
Parameters
pTarget
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetDescriptionThe target.
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.