StringFormat Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |
---|---|---|
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.