Compartir a través de


_Application.FileValidation Property

Returns or sets a value that indicates how Microsoft PowerPoint will validate files before opening them. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.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: Microsoft.Office.Core.MsoFileValidationMode

Remarks

Files that do not pass validation will be opened in a Protected View window. If you set the FileValidation property, that setting will remain in effect for the entire session during which the application is open.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.PowerPoint Namespace