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)


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
abstract IsProtocolDebuggable : 
        bstrProtocol:string -> int 
function IsProtocolDebuggable(
    bstrProtocol : String
) : int


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.


COM Signature

From vsshell80.idl:

HRESULT IVsDebuggableProtocol::IsProtocolDebuggable(
   [in] LPOLESTR bstrProtocol

.NET Framework Security

See Also


IVsDebuggableProtocol Interface

IVsDebuggableProtocol Members

Microsoft.VisualStudio.Shell.Interop Namespace