共用方式為


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
)
abstract IsEngineCompatible : 
        guidEngine:Guid byref * 
        EngineCount:uint32 * 
        pEngineGUIDs:Guid[] -> int 
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: array<System.Guid[]
    [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
);

.NET Framework Security

See Also

Reference

IVsDebugger2 Interface

IVsDebugger2 Members

Microsoft.VisualStudio.Shell.Interop Namespace