StringFormat Enumeration
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Deprecated. Describes the formatting of a string attribute for the StringAttributeMetadata.Format property.
For the Web API use the StringFormat EnumType.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataContractAttribute(Name = "StringFormat", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public enum StringFormat
<DataContractAttribute(Name := "StringFormat", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration StringFormat
Members
Member name | Description | |
---|---|---|
Specifies to display the string as an e-mail. Value = 0. |
||
Phone | For internal use only. |
|
PhoneticGuide | Specifies to display the string as a phonetic guide. Value = 5. |
|
Text | Specifies to display the string as text. Value = 1. |
|
TextArea | Specifies to display the string as a text area. Value = 2. |
|
TickerSymbol | Specifies to display the string as a ticker symbol. Value = 4. |
|
Url | Specifies to display the string as a URL. Value = 3. |
|
VersionNumber | 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.
See Also
Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity attribute metadata
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright