Bewerken

Delen via


OracleParameter.Precision Property

Definition

Caution

Precision has been deprecated. Use the Math classes to explicitly set the precision of a decimal. http://go.microsoft.com/fwlink/?linkid=14202

Gets or sets the maximum number of digits used to represent the Value property.

public:
 property System::Byte Precision { System::Byte get(); void set(System::Byte value); };
public byte Precision { get; set; }
[System.ComponentModel.Browsable(false)]
[System.Obsolete("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")]
public byte Precision { get; set; }
member this.Precision : byte with get, set
[<System.ComponentModel.Browsable(false)>]
[<System.Obsolete("Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Precision : byte with get, set
Public Property Precision As Byte

Property Value

The maximum number of digits used to represent the Value property. The default value is 0, which indicates that the data provider sets the precision for Value.

Implements

Attributes

Remarks

Setting the Precision or Scale properties has no effect.

Applies to