Поделиться через


StringFormat Enumeration

 

Applies To: Dynamics CRM 2015

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

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 enum class StringFormat
[<DataContractAttribute(Name = "StringFormat", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")>]
type StringFormat
<DataContractAttribute(Name := "StringFormat", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public Enumeration StringFormat

Members

Member name Description
Email

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

© 2016 Microsoft. All rights reserved. Copyright