IVsDebuggableProtocol.RemoveDebuggableProtocol(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从可调试协议列表中删除指定的协议。
public:
int RemoveDebuggableProtocol(System::String ^ bstrProtocol);
public:
int RemoveDebuggableProtocol(Platform::String ^ bstrProtocol);
int RemoveDebuggableProtocol(std::wstring const & bstrProtocol);
public int RemoveDebuggableProtocol (string bstrProtocol);
abstract member RemoveDebuggableProtocol : string -> int
Public Function RemoveDebuggableProtocol (bstrProtocol As String) As Integer
参数
- bstrProtocol
- String
中要从列表中删除的协议
返回
S_OK如果删除成功,则返回; S_FALSE 如果删除不成功,则返回 (例如,如果协议不在列表中) 。
注解
COM 签名
从 vsshell:
HRESULT IVsDebuggableProtocol::RemoveDebuggableProtocol(
[in] LPOLESTR bstrProtocol
);