StringAttributeMetadata.Format StringAttributeMetadata.Format StringAttributeMetadata.Format StringAttributeMetadata.Format Property

Definition

Gets or sets the format for the string

public:
 property Nullable<Microsoft::Xrm::Sdk::Metadata::StringFormat> Format { Nullable<Microsoft::Xrm::Sdk::Metadata::StringFormat> get(); void set(Nullable<Microsoft::Xrm::Sdk::Metadata::StringFormat> value); };
[System.Runtime.Serialization.DataMember]
public Nullable<Microsoft.Xrm.Sdk.Metadata.StringFormat> Format { get; set; }
member this.Format : Nullable<Microsoft.Xrm.Sdk.Metadata.StringFormat> with get, set
Public Property Format As Nullable(Of StringFormat)

Property Value

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

Remarks

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.

Applies to