<returnedtypecode> (SavedQuery)

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

使用实体类型代码描述返回的实体信息。

Syntax

<returnedtypecode formattedvalue="String">Integer</returnedtypecode>

Attributes and Elements

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

Attributes

Attribute Description Type Usage

formattedvalue

Formatted value of the node.

String

Optional

Child Elements

此元素没有子元素。

Parent Elements

Element Description

<savedquery> (SavedQuery)

定义已保存查询。

Remarks

The Entity Type Code corresponds to the EntityMetadata. ObjectTypeCode. For custom entities this value may be different for each organization so it is not recommended as a unique identifier for an entity.

Example

The following code sample shows the use of the returnedtypecode element.

<returnedtypecode formattedvalue="1,090">1090</returnedtypecode>

Element Information

Schema Type

SerializedInteger

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/returnedtypecode

另请参阅

参考

Saved query XML reference

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