共用方式為


IVsDebuggableProtocol.IsProtocolDebuggable(String) Method

Definition

Indicates whether the specified protocol is debuggable.

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

Parameters

bstrProtocol
String

[in] The protocol to be checked. This parameter can be a full URL.

Returns

The method will return S_OK if the protocol is in the list. Returns S_FALSE if the protocol is not in the list. If the bstrProtocol parameter contains a full URL, the method will return S_OK if the URL starts with a protocol that is in the list.

Remarks

COM Signature

From vsshell80.idl:

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

Applies to