Propriedade EntityMetadata.PrimaryImageAttribute
Aplica-se a: CRM 2015 on-prem, CRM Online
Gets the name of the primary image attribute for an entity.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
<DataMemberAttribute(Order:=60)> _
Public Property PrimaryImageAttribute As String
[DataMemberAttribute(Order=60)]
public string PrimaryImageAttribute { get; }
Valor de Propriedade
Type: Cadeia de caracteres
The name of the primary image attribute for an entity.
Comentários
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.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe EntityMetadata
Membros de EntityMetadata
Namespace Microsoft.Xrm.Sdk.Metadata
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.