Document context

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

In Visual Studio debugging, a document context:

  • Represents a position in a source file. For languages where the source file may not be present, a document context identifies a position in a document typically generated by the run-time environment. For example, a scripting engine might generate a document from script. For more information, see Document position.

  • Describes a position in a source document that corresponds to a code context. The symbol handler maps a code context to documentation context, using information generated by a compiler or interpreter.

  • Is implemented by an IDebugDocumentContext2 interface.

See also