IEnumCodePaths2

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

This interface represents a list of code paths.

Syntax

IEnumCodePaths2 : IUnknown

Notes for Implementers

The debug engine (DE) implements this interface to represent a list of code paths.

Notes for Callers

Call EnumCodePaths to obtain this interface.

Methods in Vtable Order

The following table shows the methods of IEnumCodePaths2.

Method Description
Next Retrieves a specified number of code paths in an enumeration sequence.
Skip Skips a specified number of code paths in an enumeration sequence.
Reset Resets an enumeration sequence to the beginning.
Clone Creates an enumerator that contains the same enumeration state as the current enumerator.
GetCount Gets the number of code paths in an enumerator.

Remarks

A code path represents a branch point or function call in a program. A list of code paths represents the path through which the code execution has taken.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also