Partilhar via


IVsTrackProjectRetargeting2.GetProjectTarget Method

Definition

Gets the specified project target.

public:
 int GetProjectTarget(Guid TargetId, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsProjectTargetDescription ^ % pTarget);
public int GetProjectTarget (Guid TargetId, out Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetDescription pTarget);
abstract member GetProjectTarget : Guid * IVsProjectTargetDescription -> int
Public Function GetProjectTarget (TargetId As Guid, ByRef pTarget As IVsProjectTargetDescription) As Integer

Parameters

TargetId
Guid

The target ID.

pTarget
IVsProjectTargetDescription

[out] The project target.

Returns

The HRESULT.

Applies to