共用方式為


<returnedtypecode> (SavedQuery)

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