rule 元素 (RuleSet_Type complexType) (Visio XML)
代表图表有效性规则集中的一个有效性规则。
|
值 |
元素类型
|
Rule_Type
|
命名空间
|
http://schemas.microsoft.com/office/visio/2012/main
|
架构文件
|
VisioSchema15.xsd
|
文档部件
|
validation.xml
|
定义
< xs:element name="Rule" type="Rule_Type" minOccurs="0" maxOccurs="unbounded" >
</xs:element >
元素和属性
如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。
父元素
子元素
Attributes
属性 |
类型 |
必需 |
说明 |
可能的值 |
类别
|
xsd:string
|
可选
|
指定“问题”窗口的 “类别” 列中显示的文本。 默认值为空字符串。 |
xsd:string 类型的值。 |
说明
|
xsd:string
|
可选
|
指定用户界面中显示的验证规则的说明。 默认值为“Unknown”。 |
xsd:string 类型的值。 |
ID
|
xsd:unsignedInt
|
必需
|
指定验证规则的唯一标识符。 |
xsd:unsignedInt 类型的值。 |
已忽略
|
xsd:boolean
|
可选
|
指定当前是否忽略验证规则。 默认值为 False。 |
xsd:boolean 类型的值。 |
NameU
|
xsd:string
|
必需
|
指定验证规则的通用名称。 |
xsd:string 类型的值。 |
RuleTarget
|
xsd:int
|
可选
|
指定验证规则应用于的对象类型。 |
xsd:int 类型的值。 |