<OutlookVersionRule> (RibbonDiffXml)

应用到: CRM 2015 on-prem, CRM Online

一项规则,用于检测 Microsoft Office Outlook 客户端的版本。

语法

<OutlookVersionRule 
 Default=["0" | "1" | "true" | "false"]
 InvertResult=["0" | "1" | "true" | "false"]
 Version=["2003" | "2007" | "2010"]
 />

属性和元素

The following describes the attributes, child elements, and parent elements.

属性

Attribute Description Type Usage

Default

如果无法确定实际值,则设置规则的默认返回值。

Boolean

Optional

InvertResult

对此规则的返回值求反。

Boolean

Optional

Version

The version of Microsoft Outlook to check.

Valid values:

  • 2003

  • 2007

  • 2010

Enumeration

Required

子元素

此元素没有子元素。

父元素

Element Description

<DisplayRule> (RibbonDiffXml)

指定用于显示功能区元素的规则定义或指定对命令定义中的 DisplayRule 的引用。

<EnableRule> (RibbonDiffXml)

指定用于启用或禁用功能区元素的规则定义或指定对命令定义中的 EnableRule 的引用。

<Or> (RibbonDiffXml)

指定一组必须一起评估的规则。

元素信息

XPath

//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OutlookVersionRule |
//RibbonDiffXml/RuleDefinitions/DisplayRules/DisplayRule/OrRule/Or/OutlookVersionRule |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OutlookVersionRule |
//RibbonDiffXml/RuleDefinitions/EnableRules/EnableRule/OrRule/Or/OutlookVersionRule

Schema Name

OutlookVersionRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

另请参阅

其他资源

Ribbon XML reference
自定义命令和功能区

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.