Share via


DecimalAttributeMetadata.Precision Property

 

Applies To: Dynamics CRM 2015

Gets or sets the precision for the attribute.

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

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

Property Value

Type: System.Nullable<Int32>

Type: Nullable<Int32>
The precision for the attribute.

Remarks

Possible values are 1-10.

If this property is not assigned a value, it defaults to 2.

See Also

DecimalAttributeMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright