Versions.AutoVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the state of the option for automatically saving document versions.
public:
property Microsoft::Office::Interop::Word::WdAutoVersions AutoVersion { Microsoft::Office::Interop::Word::WdAutoVersions get(); void set(Microsoft::Office::Interop::Word::WdAutoVersions value); };
public Microsoft.Office.Interop.Word.WdAutoVersions AutoVersion { get; set; }
member this.AutoVersion : Microsoft.Office.Interop.Word.WdAutoVersions with get, set
Public Property AutoVersion As WdAutoVersions
Property Value
Remarks
WdAutoVersions can be one of these WdAutoVersions constants:
wdAutoVersionOff
wdAutoVersionOnClose
Note When the AutoVersion property is set to wdAutoVersionOnClose, a document version is automatically saved when the document is closed.