Dela via


SqlFacetAttribute.Precision Property

Definition

The precision of the return type of the user-defined type.

public:
 property int Precision { int get(); void set(int value); };
public int Precision { get; set; }
member this.Precision : int with get, set
Public Property Precision As Integer

Property Value

An Int32 representing the precision of the return type.

Remarks

The Precision property is valid only for numeric types. The Scale property must also be specified when setting the Precision property.

The maximum value of the Precision property is 38; the default value is 38.

Applies to