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: GuidThe target ID.
pTarget
Type: Microsoft.VisualStudio.Shell.Interop.IVsProjectTargetDescription%[out] The project 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.