Condividi tramite


Proprietà StringAttributeMetadata.Format

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

Gets or sets the format for the string

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

Sintassi

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

Valore proprietà

Type: Nullable<StringFormat>
The format of the string attribute.

Note

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

Nota

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.

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

Change History

Vedere anche

Riferimento

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

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