IVsDebuggableProtocol.IsProtocolDebuggable(String) 方法

定义

指示指定的协议是否可调试。

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

参数

bstrProtocol
String

中要检查的协议。 此参数可以是完整的 URL。

返回

Int32

S_OK如果协议在列表中,则方法将返回。 S_FALSE如果协议不在列表中,则返回。 如果 bstrProtocol 参数包含完整的 url,则 S_OK 如果 url 以列表中的协议开头,则该方法将返回。

注解

COM 签名

从 vsshell80:

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

适用于