Delen via


IVsDebugger2.GetEngineName Method

Given the GUID of a debugging engine, returns the name of the engine. Use this method with EnumDebugEngines to retrieve the names of all active debugging engines.

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

Syntax

'Declaration
Function GetEngineName ( _
    ByRef guidEngine As Guid, _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
int GetEngineName(
    ref Guid guidEngine,
    out string pbstrName
)
int GetEngineName(
    [InAttribute] Guid% guidEngine, 
    [OutAttribute] String^% pbstrName
)
abstract GetEngineName : 
        guidEngine:Guid byref * 
        pbstrName:string byref -> int
function GetEngineName(
    guidEngine : Guid, 
    pbstrName : String
) : int

Parameters

  • guidEngine
    Type: Guid%

    [in] The GUID of the debugging engine.

  • pbstrName
    Type: String%

    [out] A string containing the name of the debugging engine.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDebugger2::GetEngineName(
   [in] REFGUID guidEngine,
   [out] BSTR *pbstrName
);

.NET Framework Security

See Also

Reference

IVsDebugger2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace