Export (0) Print
Expand All

IPersistFileCheckSum Interface

Calculates the check sum for the file representation of the associated text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

[InterfaceTypeAttribute()]
[GuidAttribute("35355DA7-3EEA-452E-89F3-68344278F806")]
public interface IPersistFileCheckSum

The IPersistFileCheckSum type exposes the following members.

  NameDescription
Public methodCalculateCheckSumCalculates the check sum for the file representation of the associated text buffer using the specified algorithm.
Top

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.

Notes to Callers

Obtain this interface by calling the QueryInterface method on an IVsTextBuffer or IVsTextLines object.

Show:
© 2014 Microsoft