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)
Syntax
‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("35355DA7-3EEA-452E-89F3-68344278F806")> _
Public Interface IPersistFileCheckSum
‘사용 방법
Dim instance As IPersistFileCheckSum
[InterfaceTypeAttribute()]
[GuidAttribute("35355DA7-3EEA-452E-89F3-68344278F806")]
public interface IPersistFileCheckSum
[InterfaceTypeAttribute()]
[GuidAttribute(L"35355DA7-3EEA-452E-89F3-68344278F806")]
public interface class IPersistFileCheckSum
[<InterfaceTypeAttribute()>]
[<GuidAttribute("35355DA7-3EEA-452E-89F3-68344278F806")>]
type IPersistFileCheckSum = interface end
public interface IPersistFileCheckSum
Remarks
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.