共用方式為


IVsPersistDocData Members

Include Protected Members
Include Inherited Members

Enables persistence functionality for document data managed by the text buffer.

The IVsPersistDocData type exposes the following members.

Methods

  Name Description
Public method Close Closes the IVsPersistDocData object.
Public method GetGuidEditorType Returns the unique identifier of the editor factory that created the IVsPersistDocData object.
Public method IsDocDataDirty Determines whether the document data has changed since the last save.
Public method IsDocDataReloadable Determines whether the document data can be reloaded.
Public method LoadDocData Loads the document data from a given MkDocument.
Public method OnRegisterDocData Called by the Running Document Table (RDT) when it registers the document data in the RDT.
Public method ReloadDocData Reloads the document data and in the process determines whether to ignore a subsequent file change.
Public method RenameDocData Renames the document data.
Public method SaveDocData Saves the document data.
Public method SetUntitledDocPath Sets the initial name (or path) for unsaved, newly created document data.

Top

See Also

Reference

IVsPersistDocData Interface

Microsoft.VisualStudio.Shell.Interop Namespace