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


public Nullable<StringFormat> Format { get; set; }
property Nullable<StringFormat> Format {
    Nullable<StringFormat> get();
    void set(Nullable<StringFormat> value);
member Format : Nullable<StringFormat> with get, set
Public Property Format As Nullable(Of StringFormat)

Property Value

Type: System.Nullable<StringFormat>

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


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.

See Also

StringAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright