共用方式為


IVsTrackProjectRetargeting2.RegisterProjectTarget Method

Definition

Registers the project target.

public:
 int RegisterProjectTarget(Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetDescription ^ pTarget);
public:
 int RegisterProjectTarget(Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetDescription ^ pTarget);
int RegisterProjectTarget(Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetDescription const & pTarget);
public int RegisterProjectTarget (Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetDescription pTarget);
abstract member RegisterProjectTarget : Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetDescription -> int
Public Function RegisterProjectTarget (pTarget As IVsProjectTargetDescription) As Integer

Parameters

pTarget
IVsProjectTargetDescription

The target.

Returns

The HRESULT.

Applies to