_Document.ReadOnlyRecommended 属性

定义

确定当用户打开文档时,Word 是否显示一个消息框,建议以只读方式打开该文档。Determines if Word displays a message box whenever a user opens the document, suggesting that it be opened as read-only.

public:
 property bool ReadOnlyRecommended { bool get(); void set(bool value); };
public bool ReadOnlyRecommended { get; set; }
member this.ReadOnlyRecommended : bool with get, set
Public Property ReadOnlyRecommended As Boolean

属性值

Boolean

注解

如果用户打开文档时 Word 显示一个消息框,建议以只读方式打开该文档,则此属性返回True ,否则返回FalseThis property returns True if Word displays a message box whenever a user opens the document, suggesting that it be opened as read-only, and False if not. 将属性值设置为TrueFalse可启用或禁用功能。Set the property value to True or False to enable or disable the functionality.

适用于