_Application.FileValidation Property
Gets or sets how Word will validate files before opening them.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property FileValidation As MsoFileValidationMode
Get
Set
'Usage
Dim instance As _Application
Dim value As MsoFileValidationMode
value = instance.FileValidation
instance.FileValidation = value
MsoFileValidationMode FileValidation { get; set; }
Property Value
Type: MsoFileValidationMode
A MsoFileValidationMode object.
Remarks
Read-write MsoFileValidationMode. Files that do not pass validation are opened in a ProtectedViewWindow. The FileValidation property is per-session only. If you set the FileValidation property, that setting remains in effect for the entire session that the application is open.