Calculates the check sum for the file representation of the associated text buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
|CalculateCheckSum(Guid, UInt32, Byte, UInt32)|
Calculates the check sum for the file representation of the associated text buffer using the specified algorithm.
The check sum for the file representation of the text buffer is calculated as if it were saved to disk in its current state with the currently specified user save file format settings (e.g. UTF8, Unicode, etc.). The file is not actually written and the changed state of the document is not modified by this operation. This interface can be implemented by any document or text buffer. In particular the IVsTextBuffer (as implemented by the core editor) object implements this interface.
Notes to Implementers:
This interface is implemented on the same class that implements the IVsTextBuffer interface.