Compartilhar via


IVsDebuggableProtocol.AddDebuggableProtocol(String) Method

Definition

Adds a protocol to the debuggable protocol list.

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

Parameters

bstrProtocol
String

[in] The protocol to add to the list.

Returns

Returns S_OK if add is successful; returns S_FALSE if the addition is unsuccessful.

Remarks

COM Signature

From vsshell80.idl:

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

Applies to