_Document.WritePassword 属性

定义

该属性设置一个保存对指定文档所做的修改时所需的密码。

public:
 property System::String ^ WritePassword {  void set(System::String ^ value); };
public string WritePassword { set; }
member this.WritePassword : string
Public Property WritePassword As String

属性值

注解

尽量避免在应用程序中使用硬编码的密码。 如果过程中需要使用密码,请向用户请求密码并将其存储在一个变量中,然后在代码中使用该变量。

适用于