OracleParameter.Precision OracleParameter.Precision OracleParameter.Precision OracleParameter.Precision Property

定义

警告

此 API 现已过时。

获取或设置用于表示 Value 属性的最大位数。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); };
[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
Public Property Precision As Byte

属性值

用于表示 Value 属性的最大位数。The maximum number of digits used to represent the Value property. 默认值为 0,它表示数据提供程序设置 Value 的精度。The default value is 0, which indicates that the data provider sets the precision for Value.

实现

注解

Precision设置或Scale属性不起作用。Setting the Precision or Scale properties has no effect.

适用于