次の方法で共有


IVsProjectDebugTargetProvider.SupplyDebugTarget(String, String) Method

Definition

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

public:
 int SupplyDebugTarget([Runtime::InteropServices::Out] System::String ^ % pbstrTarget, [Runtime::InteropServices::Out] System::String ^ % pbstrCommandLine);
int SupplyDebugTarget([Runtime::InteropServices::Out] std::wstring const & & pbstrTarget, [Runtime::InteropServices::Out] std::wstring const & & pbstrCommandLine);
public int SupplyDebugTarget (out string pbstrTarget, out string pbstrCommandLine);
abstract member SupplyDebugTarget : string * string -> int
Public Function SupplyDebugTarget (ByRef pbstrTarget As String, ByRef pbstrCommandLine As String) As Integer

Parameters

pbstrTarget
String

[out] Pointer to a string containing the name of the target.

pbstrCommandLine
String

[out] Pointer to a string containing arguments for the provider.

Returns

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  
);  

Applies to