StringFormat StringFormat StringFormat 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
type StringFormat = 
Public Enum StringFormat
Inheritance
StringFormatStringFormatStringFormatStringFormat
Attributes

Fields

Email Email Email Email 0

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

Phone Phone Phone Phone 7

For internal use only.

PhoneticGuide PhoneticGuide PhoneticGuide PhoneticGuide 5

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

Text Text Text Text 1

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

TextArea TextArea TextArea TextArea 2

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

TickerSymbol TickerSymbol TickerSymbol TickerSymbol 4

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

Url Url Url Url 3

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

VersionNumber VersionNumber VersionNumber 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