IVsProjectDebugTargetProvider.SupplyDebugTarget(String, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果当前调试目标合适,则获取有关调试目标的信息。
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
参数
- pbstrTarget
- String
弄指向包含目标名称的字符串的指针。
- pbstrCommandLine
- String
弄指向字符串的指针,该字符串包含提供程序的参数。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。
注解
COM 签名
从 vsshell80:
[C++]
HRESULT IVsProjectDebugTargetProvider::SupplyDebugTarget(
[out] BSTR* pbstrTarget,
[out] BSTR* pbstrCommandLine
);