Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_Document.WritePassword property

Sets a password for saving changes to the specified document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
string WritePassword { set; }

Property value

Type: System.String

Avoid using hard-coded passwords in your applications. If a password is required in a procedure, request the password from the user, store it in a variable, and then use the variable in your code.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.