StringAttributeMetadata.FormatName 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)

Syntax

[DataMemberAttribute(Order = 60)]
public StringFormatName FormatName { get; set; }
<DataMemberAttribute(Order := 60)>
Public Property FormatName As StringFormatName

Property Value

Type: Microsoft.Xrm.Sdk.Metadata.StringFormatName

Type: StringFormatName
The format for the string attribute.

Remarks

If this property is not set and Format is not set it defaults to Text.

Note

Use this property rather than Format. If both properties are set, this property will be used.

See Also

StringAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright