Share via


_Document.PasswordEncryptionFileProperties Property

Returns True if Microsoft Word encrypts file properties for password-protected documents.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property PasswordEncryptionFileProperties As Boolean
    Get
'Usage
Dim instance As _Document
Dim value As Boolean

value = instance.PasswordEncryptionFileProperties
bool PasswordEncryptionFileProperties { get; }

Property Value

Type: System.Boolean

Remarks

Use the SetPasswordEncryptionOptions method to specify whether Word encrypts file properties for password-protected documents.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace