Compartir a través de


IVsPersistDocData2 Members

Include Protected Members
Include Inherited Members

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

The IVsPersistDocData2 type exposes the following members.

Methods

  Name Description
Public method Close Closes the IVsPersistDocData object. (Inherited from IVsPersistDocData.)
Public method Close() Closes the IVsPersistDocData2 object.
Public method GetGuidEditorType Returns the unique identifier of the editor factory that created the IVsPersistDocData object. (Inherited from IVsPersistDocData.)
Public method GetGuidEditorType(Guid%) Returns the unique identifier of the editor factory that created the IVsPersistDocData2 object.
Public method IsDocDataDirty Determines whether the document data has changed since the last save. (Inherited from IVsPersistDocData.)
Public method IsDocDataDirty(Int32%) Determines whether the document data has changed since the last save.
Public method IsDocDataReadOnly Determines whether the document data is read-only.
Public method IsDocDataReloadable Determines whether the document data can be reloaded. (Inherited from IVsPersistDocData.)
Public method IsDocDataReloadable(Int32%) Determines whether the document data can be reloaded.
Public method LoadDocData Loads the document data from a given MkDocument. (Inherited from IVsPersistDocData.)
Public method LoadDocData(String) 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. (Inherited from IVsPersistDocData.)
Public method OnRegisterDocData(UInt32, IVsHierarchy, UInt32) 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. (Inherited from IVsPersistDocData.)
Public method ReloadDocData(UInt32) Reloads the document data and in the process determines whether to ignore a subsequent file change.
Public method RenameDocData Renames the document data. (Inherited from IVsPersistDocData.)
Public method RenameDocData(UInt32, IVsHierarchy, UInt32, String) Renames the document data.
Public method SaveDocData Saves the document data. (Inherited from IVsPersistDocData.)
Public method SaveDocData(VSSAVEFLAGS, String%, Int32%) Saves the document data.
Public method SetDocDataDirty Sets the IsDirty flag to true.
Public method SetDocDataReadOnly Sets the Read-Only flag to true.
Public method SetUntitledDocPath Sets the initial name (or path) for unsaved, newly created document data. (Inherited from IVsPersistDocData.)
Public method SetUntitledDocPath(String) Sets the initial name (or path) for unsaved, newly created document data.

Top

See Also

Reference

IVsPersistDocData2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace