<CrmOutlookClientVersionRule> (RibbonDiffXml)

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

检测 Microsoft Dynamics CRM for Microsoft Office Outlook 版本。

语法

<CrmOutlookClientVersionRule 
 Build="Integer"
 Default =["0" | "1" | "true" | "false"]
 InvertResult =["0" | "1" | "true" | "false"]
 Major="Integer"
 Minor="Integer"
 Revision="Integer"
 />

属性和元素

The following table lists the attributes, child elements, and parent elements.

属性

Attribute Description Type Usage

Major

The major version number. Valid values are 4 and 5.

Integer

Required

Minor

The minor version number. This is a single digit.

Integer

Optional

Build

The build number. This is a four-digit number.

Integer

Optional

Revision

The revision number. This is a single-digit number.

Integer

Optional

Default

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

Boolean

Optional

InvertResult

对此规则的返回值求反。

Boolean

Optional

子元素

This element has no child elements.

父元素

Element Description

<DisplayRule> (RibbonDiffXml)

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

<EnableRule> (RibbonDiffXml)

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

<Or> (RibbonDiffXml)

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

元素信息

XPath

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

Schema Name

CrmOutlookClientVersionRuleType

Validation File

RibbonTypes.xsd

Can be Empty

Yes

另请参阅

其他资源

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

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