IVsProjectDebugTargetProvider.SupplyDebugTarget Method

Gets information about a debug target if the current debug target is appropriate.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

‘선언
Function SupplyDebugTarget ( _
    <OutAttribute> ByRef pbstrTarget As String, _
    <OutAttribute> ByRef pbstrCommandLine As String _
) As Integer
‘사용 방법
Dim instance As IVsProjectDebugTargetProvider
Dim pbstrTarget As String
Dim pbstrCommandLine As String
Dim returnValue As Integer

returnValue = instance.SupplyDebugTarget(pbstrTarget, _
    pbstrCommandLine)
int SupplyDebugTarget(
    out string pbstrTarget,
    out string pbstrCommandLine
)
int SupplyDebugTarget(
    [OutAttribute] String^% pbstrTarget, 
    [OutAttribute] String^% pbstrCommandLine
)
abstract SupplyDebugTarget : 
        pbstrTarget:string byref * 
        pbstrCommandLine:string byref -> int 
function SupplyDebugTarget(
    pbstrTarget : String, 
    pbstrCommandLine : String
) : int

Parameters

  • pbstrTarget
    Type: System.String%
    [out] Pointer to a string containing the name of the target.
  • pbstrCommandLine
    Type: System.String%
    [out] Pointer to a string containing arguments for the provider.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

[C++]

HRESULT IVsProjectDebugTargetProvider::SupplyDebugTarget(
   [out] BSTR* pbstrTarget, 
   [out] BSTR* pbstrCommandLine
);

.NET Framework Security

See Also

Reference

IVsProjectDebugTargetProvider Interface

IVsProjectDebugTargetProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace