Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

StringFormat Enumeration

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

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

Community Additions

© 2015 Microsoft