다음을 통해 공유


IVsTrackProjectRetargeting2.GetProjectTarget Method

Gets the specified 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 GetProjectTarget ( _
    TargetId As Guid, _
    <OutAttribute> ByRef pTarget As IVsProjectTargetDescription _
) As Integer
int GetProjectTarget(
    Guid TargetId,
    out IVsProjectTargetDescription pTarget
)
int GetProjectTarget(
    [InAttribute] Guid TargetId, 
    [OutAttribute] IVsProjectTargetDescription^% pTarget
)
abstract GetProjectTarget : 
        TargetId:Guid * 
        pTarget:IVsProjectTargetDescription byref -> int
function GetProjectTarget(
    TargetId : Guid, 
    pTarget : IVsProjectTargetDescription
) : int

Parameters

  • TargetId
    Type: Guid

    The target ID.

Return Value

Type: Int32
The HRESULT.

.NET Framework Security

See Also

Reference

IVsTrackProjectRetargeting2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace