Table of contents
TOC
折叠目录
展开目录

WizardProperty.Enabled 属性 (发布服务器)WizardProperty.Enabled Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

如此如果向导属性处于启用状态。只读的布尔值True if a wizard property is enabled. Read-only Boolean.

语法Syntax

表达式启用expression. Enabled

_expression_A 表示WizardProperty对象的变量。_expression_A variable that represents an WizardProperty object.

返回值Return Value

BooleanBoolean

示例Example

以下示例显示当前出版物中已启用的每个向导属性的名称。This example displays the name of each enabled wizard property in the active publication.

Sub SetEnabledProperty() 
 Dim wizProperty As WizardProperty 
 For Each wizProperty In ActiveDocument.Wizard.Properties 
 If wizProperty.Enabled = True Then 
 MsgBox "The name of the wizard property is " &; wizProperty.Name 
 End If 
 Next 
End Sub
© 2018 Microsoft