次の方法で共有


EntityMetadata.PrimaryImageAttribute プロパティ

適用対象: CRM 2015 on-prem, CRM Online

Gets the name of the primary image attribute for an entity.

名前空間: Microsoft.Xrm.Sdk.Metadata
アセンブリ: Microsoft.Xrm.Sdk (Microsoft.Xrm.Sdk.dll に含まれる)

構文

'宣言
<DataMemberAttribute(Order:=60)> _
Public Property PrimaryImageAttribute As String
[DataMemberAttribute(Order=60)] 
public string PrimaryImageAttribute { get; }

プロパティ値

Type: 文字列
The name of the primary image attribute for an entity.

備考

When an entity contains a ImageAttributeMetadata attribute this value will be the name of the attribute containing the image used in the application. Each entity can have only one image attribute and the logical name of that attribute is always entityimage. This property has been added to prepare for a future release in which entities may support multiple image attributes and there may be need to change which image is used as the primary image for the entity.

スレッド セーフ

この種類のパブリックな静的 (Visual Basic では Shared) メンバーはスレッド セーフです。インスタンス メンバーがスレッド セーフであることは保証されません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows Server 2003、および

対象プラットフォーム

Windows Vista、Windows XP

関連項目

参照

EntityMetadata クラス
EntityMetadata のメンバー
Microsoft.Xrm.Sdk.Metadata 名前空間

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.