Partager via


Énumération StringFormat

S'applique à: CRM 2015 on-prem, CRM Online

Déconseillé. Describes the formatting of a string attribute for the StringAttributeMetadata.Format property.

Espace de noms: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

'Déclaration
<DataContractAttribute(Name:="StringFormat", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration StringFormat
[DataContractAttribute(Name="StringFormat", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum StringFormat

Membres

Nom du membre Description
Email Specifies to display the string as an e-mail. Value = 0.
Phone Utilisation interne uniquement.
PhoneticGuide Specifies to display the string as a phonetic guide. Value = 5.
Text Specifies to display the string as text. Value = 1.
TextArea Specifies to display the string as a text area. Value = 2.
TickerSymbol Specifies to display the string as a ticker symbol. Value = 4.
Url Specifies to display the string as a URL. Value = 3.
VersionNumber Specifies to display the string as a version number. Value = 6.

Remarques

Use the StringAttributeMetadata.FormatName property instead. This property uses StringFormatName values rather than this enumeration.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Espace de noms Microsoft.Xrm.Sdk.Metadata

Autres ressources

Customize Entity Attribute Metadata

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