StringFormat 枚举

应用到: CRM 2015 on-prem, CRM Online

已弃用。 Describes the formatting of a string attribute for the StringAttributeMetadata.Format property.

命名空间: Microsoft.Xrm.Sdk.Metadata
程序集: Microsoft.Xrm.Sdk (在 Microsoft.Xrm.Sdk.dll 中)

语法

声明
<DataContractAttribute(Name:="StringFormat", Namespace:="https://schemas.microsoft.com/xrm/2011/Metadata")> _
Public Enumeration StringFormat
[DataContractAttribute(Name="StringFormat", Namespace="https://schemas.microsoft.com/xrm/2011/Metadata")] 
public enum StringFormat

成员

成员名称 描述
Email Specifies to display the string as an e-mail. Value = 0.
Phone 仅供内部使用。
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.

备注

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

平台

开发平台

Windows Vista、Windows Server 2003 和

目标平台

Windows Vista,Windows XP

另请参阅

参考

Microsoft.Xrm.Sdk.Metadata 命名空间

其他资源

Customize Entity Attribute Metadata

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.