StringAttributeMetadata.FormatName Property

 

Applies To: Dynamics CRM 2015

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; }
public:
[DataMemberAttribute(Order = 60)]
property StringFormatName^ FormatName {
    StringFormatName^ get();
    void set(StringFormatName^ value);
}
[<DataMemberAttribute(Order = 60)>]
member FormatName : StringFormatName with 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

© 2016 Microsoft. All rights reserved. Copyright