IVsDebuggableProtocol.RemoveDebuggableProtocol Method

Removes the indicated protocol from the list.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣言
Function RemoveDebuggableProtocol ( _
    bstrProtocol As String _
) As Integer
'使用
Dim instance As IVsDebuggableProtocol
Dim bstrProtocol As String
Dim returnValue As Integer

returnValue = instance.RemoveDebuggableProtocol(bstrProtocol)
int RemoveDebuggableProtocol(
    string bstrProtocol
)
int RemoveDebuggableProtocol(
    [InAttribute] String^ bstrProtocol
)
function RemoveDebuggableProtocol(
    bstrProtocol : String
) : int

Parameters

Return Value

Type: System.Int32

Returns S_OK if removal is successful; returns S_FALSE if removal is unsuccessful (for example, if the protocol is not in the list).

Remarks

COM Signature

From vsshell.idl:

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

Permissions

See Also

Reference

IVsDebuggableProtocol Interface

IVsDebuggableProtocol Members

Microsoft.VisualStudio.Shell.Interop Namespace