IVsDebuggableProtocol.AddDebuggableProtocol(String) 方法

定义

将协议添加到可调试协议列表中。

public:
 int AddDebuggableProtocol(System::String ^ bstrProtocol);
public:
 int AddDebuggableProtocol(Platform::String ^ bstrProtocol);
int AddDebuggableProtocol(std::wstring const & bstrProtocol);
public int AddDebuggableProtocol (string bstrProtocol);
abstract member AddDebuggableProtocol : string -> int
Public Function AddDebuggableProtocol (bstrProtocol As String) As Integer

参数

bstrProtocol
String

中要添加到列表中的协议。

返回

Int32

S_OK如果添加成功,则返回; S_FALSE 如果未成功添加,则返回。

注解

COM 签名

从 vsshell80:

HRESULT IVsDebuggableProtocol::AddDebuggableProtocol(  
   [in] LPOLESTR bstrProtocol  
);  

适用于