_Document.WritePassword 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
该属性设置一个保存对指定文档所做的修改时所需的密码。
public:
property System::String ^ WritePassword { void set(System::String ^ value); };
public string WritePassword { set; }
member this.WritePassword : string
Public Property WritePassword As String
属性值
注解
尽量避免在应用程序中使用硬编码的密码。 如果过程中需要使用密码,请向用户请求密码并将其存储在一个变量中,然后在代码中使用该变量。