Export (0) Print
Expand All

StringFormat Enumeration

Dynamics CRM 2013

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Deprecated. Describes the formatting of a string attribute for the StringAttributeMetadata.Format property.

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

[DataContractAttribute(Name="StringFormat", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum StringFormat

Member nameDescription
EmailSpecifies to display the string as an e-mail. Value = 0.
PhoneFor internal use only.
PhoneticGuideSpecifies to display the string as a phonetic guide. Value = 5.
TextSpecifies to display the string as text. Value = 1.
TextAreaSpecifies to display the string as a text area. Value = 2.
TickerSymbolSpecifies to display the string as a ticker symbol. Value = 4.
UrlSpecifies to display the string as a URL. Value = 3.
VersionNumberSpecifies to display the string as a version number. Value = 6.

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

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft