Partager via


IVsDebugger2.GetEngineName(Guid, String) Method

Definition

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

public:
 int GetEngineName(Guid % guidEngine, [Runtime::InteropServices::Out] System::String ^ % pbstrName);
public int GetEngineName (ref Guid guidEngine, out string pbstrName);
abstract member GetEngineName : Guid * string -> int
Public Function GetEngineName (ByRef guidEngine As Guid, ByRef pbstrName As String) As Integer

Parameters

guidEngine
Guid

[in] The GUID of the debugging engine.

pbstrName
String

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

Returns

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  
);  

Applies to