StringFormat Enum

Definition

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

For the Web API use the StringFormat EnumType.

public enum class StringFormat
[System.Runtime.Serialization.DataContract(Name="StringFormat", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public enum StringFormat
[<System.Runtime.Serialization.DataContract(Name="StringFormat", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type StringFormat = 
Public Enum StringFormat
Inheritance
StringFormat
Attributes

Fields

Email 0

Specifies to display the string as an e-mail. Value = 0.

Json 8
Phone 7

For internal use only.

PhoneticGuide 5

Specifies to display the string as a phonetic guide. Value = 5.

RichText 9
Text 1

Specifies to display the string as text. Value = 1.

TextArea 2

Specifies to display the string as a text area. Value = 2.

TickerSymbol 4

Specifies to display the string as a ticker symbol. Value = 4.

Url 3

Specifies to display the string as a URL. Value = 3.

VersionNumber 6

Specifies to display the string as a version number. Value = 6.

Remarks

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

Applies to