Compartir a través de


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

'Declaración
Function RemoveDebuggableProtocol ( _
    bstrProtocol As String _
) As Integer
'Uso
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
)
abstract RemoveDebuggableProtocol : 
        bstrProtocol:string -> int 
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
);

.NET Framework Security

See Also

Reference

IVsDebuggableProtocol Interface

IVsDebuggableProtocol Members

Microsoft.VisualStudio.Shell.Interop Namespace