IVsDebuggableProtocol.AddDebuggableProtocol(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将协议添加到可调试协议列表中。
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
中要添加到列表中的协议。
返回
S_OK如果添加成功,则返回; S_FALSE 如果未成功添加,则返回。
注解
COM 签名
从 vsshell80:
HRESULT IVsDebuggableProtocol::AddDebuggableProtocol(
[in] LPOLESTR bstrProtocol
);