Compartilhar via


Propriedade StringAttributeMetadata.Format

Aplica-se a: CRM 2015 on-prem, CRM Online

Gets or sets the format for the string

Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)

Sintaxe

'Declaração
<DataMemberAttribute> _
Public Property Format As Nullable(Of StringFormat)
[DataMemberAttribute] 
public Nullable<StringFormat> Format { get; set; }

Valor de Propriedade

Type: Anulável<StringFormat>
The format of the string attribute.

Comentários

If this property is not assigned a value, and FormatName is also not assigned a value, it defaults to Text.

Observação

Use FormatName instead of this property to set the format. The StringFormat enumeration is deprecated. If both properties are set the FormatName value will be used.

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

Change History

Consulte também

Referência

Classe StringAttributeMetadata
Membros de StringAttributeMetadata
Namespace Microsoft.Xrm.Sdk.Metadata

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