Condividi tramite


Proprietà EntityMetadata.PrimaryImageAttribute

Si applica a: CRM 2015 on-prem, CRM Online

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

Spazio dei nomi: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

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

Valore proprietà

Type: Stringa
The name of the primary image attribute for an entity.

Note

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.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe EntityMetadata
Membri EntityMetadata
Spazio dei nomi Microsoft.Xrm.Sdk.Metadata

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