Partager via


StringAttributeMetadata.FormatName Property

Definition

Gets or sets the format for the string.

public:
 property Microsoft::Xrm::Sdk::Metadata::StringFormatName ^ FormatName { Microsoft::Xrm::Sdk::Metadata::StringFormatName ^ get(); void set(Microsoft::Xrm::Sdk::Metadata::StringFormatName ^ value); };
[System.Runtime.Serialization.DataMember(Order=60)]
public Microsoft.Xrm.Sdk.Metadata.StringFormatName FormatName { get; set; }
[<System.Runtime.Serialization.DataMember(Order=60)>]
member this.FormatName : Microsoft.Xrm.Sdk.Metadata.StringFormatName with get, set
Public Property FormatName As StringFormatName

Property Value

The format for the string attribute.

Attributes

Remarks

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

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

Applies to