Jaa


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)

Syntax

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

Property Value

Type: System.Nullable<StringFormat>

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.

Note

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