StringAttributeMetadata.Format Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Microsoft.Xrm.Sdk.Metadata.StringFormat? Format { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Format : Nullable<Microsoft.Xrm.Sdk.Metadata.StringFormat> with get, set
Public Property Format As Nullable(Of StringFormat)
Property Value
The format of the string attribute.
- Attributes
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.