StringAttributeMetadata.Format Property


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets the format for the string

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)


public Nullable<StringFormat> Format { get; set; }
Public Property Format As Nullable(Of StringFormat)

Property Value

Type: System.Nullable<StringFormat>

Type: Nullable<StringFormat>
The format of the string attribute.


If this property is not assigned a value, and FormatName is also not assigned a value, it defaults to Text.


Use FormatName instead of this property to set the format. The StringFormat enumeration is deprecated. If both properties are set the FormatName value will be used.

See Also

StringAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright