Del via


StringFormat-optælling

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

Navneområde: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (i Microsoft.Xrm.Sdk.dll)

Syntaks

'Deklaration
<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

Medlemmer

Medlemsnavn Beskrivelse
Email Specifies to display the string as an e-mail. Value = 0.
Phone Kun til intern brug.
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.

Bemærkninger

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

Platforme

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows Server 2008,Windows Server 2012,Windows 7

Se også

Reference

Microsoft.Xrm.Sdk.Metadata-navneområde

Andre ressourcer

Customize Entity Attribute Metadata

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