IVsDebuggableProtocol.RemoveDebuggableProtocol(String) 方法

定义

从可调试协议列表中删除指定的协议。

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

中要从列表中删除的协议

返回

Int32

S_OK如果删除成功,则返回; S_FALSE 如果删除不成功,则返回 (例如,如果协议不在列表中) 。

注解

COM 签名

从 vsshell:

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

适用于