_Document.UserControl 属性

定义

确定文档或应用程序是否由用户创建或打开。

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

属性值

注解

如果文档或应用程序是由用户创建或打开的,则此属性返回 True ;如果以编程方式创建或打开文档或应用程序,则返回 False 。 将属性值设置为 TrueFalse 以启用或禁用该功能。

如果Word对用户可见,则此属性将始终返回 True

适用于