IVsDebuggableProtocol.IsProtocolDebuggable Method

The [in] argument can be a full URL.

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

Syntax

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

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

Parameters

Return Value

Type: System.Int32

The method will return S_OK if the URL starts with a protocol that is in the list. Returns S_FALSE if the protocol is not in the list.

Remarks

COM Signature

From vsshell80.idl:

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

Permissions

See Also

Reference

IVsDebuggableProtocol Interface

IVsDebuggableProtocol Members

Microsoft.VisualStudio.Shell.Interop Namespace