This documentation is archived and is not being maintained.

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)

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

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: