次の方法で共有


IPersistFileCheckSum Interface

Definition

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

public interface class IPersistFileCheckSum
public interface class IPersistFileCheckSum
__interface IPersistFileCheckSum
[System.Runtime.InteropServices.Guid("35355DA7-3EEA-452E-89F3-68344278F806")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IPersistFileCheckSum
[System.Runtime.InteropServices.Guid("35355DA7-3EEA-452E-89F3-68344278F806")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IPersistFileCheckSum
[<System.Runtime.InteropServices.Guid("35355DA7-3EEA-452E-89F3-68344278F806")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IPersistFileCheckSum = interface
[<System.Runtime.InteropServices.Guid("35355DA7-3EEA-452E-89F3-68344278F806")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IPersistFileCheckSum = interface
Public Interface IPersistFileCheckSum
Attributes

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.

Methods

CalculateCheckSum(Guid, UInt32, Byte[], UInt32)

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

Applies to