次の方法で共有


IVsDebugger2.IsEngineCompatible Method

Checks the compatibility of a debugging engine with other debugging engines.

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

Syntax

'宣言
Function IsEngineCompatible ( _
    ByRef guidEngine As Guid, _
    EngineCount As UInteger, _
    pEngineGUIDs As Guid() _
) As Integer
'使用
Dim instance As IVsDebugger2
Dim guidEngine As Guid
Dim EngineCount As UInteger
Dim pEngineGUIDs As Guid()
Dim returnValue As Integer

returnValue = instance.IsEngineCompatible(guidEngine, _
    EngineCount, pEngineGUIDs)
int IsEngineCompatible(
    ref Guid guidEngine,
    uint EngineCount,
    Guid[] pEngineGUIDs
)
int IsEngineCompatible(
    [InAttribute] Guid% guidEngine, 
    [InAttribute] unsigned int EngineCount, 
    [InAttribute] array<Guid>^ pEngineGUIDs
)
function IsEngineCompatible(
    guidEngine : Guid, 
    EngineCount : uint, 
    pEngineGUIDs : Guid[]
) : int

Parameters

  • guidEngine
    Type: System.Guid%

    [in] The GUID of the engine tested for compatibility.

  • EngineCount
    Type: System.UInt32

    [in] Number of GUIDs in the array pEngineGUIDs.

  • pEngineGUIDs
    Type: []

    [in] An array of GUIDs of debugging engines.

Return Value

Type: System.Int32

Returns S_OK if the debugging engine (guidEngine) is compatible with all of the engines in pEngineGUIDs,. Otherwise, the method returns S_FALSE.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDebugger2::IsEngineCompatible(
   [in] REFGUID guidEngine,
   [in] ULONG EngineCount,
   [in, size_is(EngineCount)] GUID * pEngineGUIDs
);

Permissions

See Also

Reference

IVsDebugger2 Interface

IVsDebugger2 Members

Microsoft.VisualStudio.Shell.Interop Namespace