Поделиться через


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

'Declaration
Function SupplyDebugTarget ( _
    <OutAttribute> ByRef pbstrTarget As String, _
    <OutAttribute> ByRef pbstrCommandLine As String _
) As Integer
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

Microsoft.VisualStudio.Shell.Interop Namespace