Dela via


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

Name Value Description
Email 0

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

Text 1

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

TextArea 2

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

Url 3

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

TickerSymbol 4

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

PhoneticGuide 5

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

VersionNumber 6

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

Phone 7

For internal use only.

Json 8
RichText 9

Remarks

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

Applies to