共用方式為


DocData.MarkDocumentChangedForBackup Method

Mark that the document has changed and thus a new backup should be created

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣告
Public Overridable Sub MarkDocumentChangedForBackup
public virtual void MarkDocumentChangedForBackup()
public:
virtual void MarkDocumentChangedForBackup()
abstract MarkDocumentChangedForBackup : unit -> unit 
override MarkDocumentChangedForBackup : unit -> unit 
public function MarkDocumentChangedForBackup()

Remarks

Call this method when you change the document's content

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace