IDebugDocumentChecksum2

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

Represents a checksum for a debug document and enables passing the checksum between components.

Syntax

IDebugDocumentChecksum2 : IUnknown

Notes for Implementers

This interface can be implemented by any component that exposes the IDebugDocumentContext2 interface. However, it is principally implemented by debug engines so that the checksum embedded in a symbol file (*.pdb) can be passed back to the IDE and used when finding a source.

Methods

The following table shows the methods of IDebugDocumentChecksum2.

Method Description
GetChecksumAndAlgorithmId Retrieves the document checksum and algorithm identifier given the maximum number of bytes to use.

Requirements

Header: Msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll