Edit

Share via


Versions.AutoVersion Property

Definition

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.

Applies to