应用到: CRM 2016 on-prem, CRM Online
指定事件中的代码所需的属性。
语法
<dependency id="String"/>
属性和元素
The following describes the attributes, child elements, and parent elements.
属性
| Attribute | Description | Type | Usage | 
|---|---|---|---|
| id | Specifies the ID of a field that cannot be removed from the form while the dependency exists. | String | Optional | 
子元素
此元素没有子元素。
父元素
| Element | Description | 
|---|---|
| 包含事件的依赖项。 | |
| 包含表示无法从窗体中删除的字段的依赖项。 | 
备注
With the <externaldependencies> (FormXml) element, at least one dependency must exist. With the <dependencies> (FormXml) element, a dependency is not required.
示例
The following shows an example of the dependency element.
<dependency id="transactioncurrencyid" />
元素信息
| Schema Type | complexType | 
| Validation File | FormXml.xsd | 
| Number of Occurrences | 0 or more | 
| XPath |  | 
另请参阅
概念
其他资源
Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.