Partager via


IVsDebugger.GetMode(DBGMODE[]) Method

Definition

Returns the current debugger mode, a value in the DBGMODE enumeration such as DBGMODE_Break.

public:
 int GetMode(cli::array <Microsoft::VisualStudio::Shell::Interop::DBGMODE> ^ pdbgmode);
public:
 int GetMode(Platform::Array <Microsoft::VisualStudio::Shell::Interop::DBGMODE> ^ pdbgmode);
int GetMode(std::Array <Microsoft::VisualStudio::Shell::Interop::DBGMODE> const & pdbgmode);
public int GetMode (Microsoft.VisualStudio.Shell.Interop.DBGMODE[] pdbgmode);
abstract member GetMode : Microsoft.VisualStudio.Shell.Interop.DBGMODE[] -> int
Public Function GetMode (pdbgmode As DBGMODE()) As Integer

Parameters

pdbgmode
DBGMODE[]

[out] Pointer to a value in the DBGMODE enumeration.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::GetMode(  
   [out] DBGMODE *pdbgmode  
);  

Applies to