StringAttributeMetadata.Format Property

 

Updated: November 29, 2016

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)

[DataMemberAttribute]
public Nullable<StringFormat> Format { get; set; }

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.

System_CAPS_noteNote

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.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: