共用方式為


<OutlookVersionRule> (RibbonDiffXml)

適用於: CRM 2016 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 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.