OracleParameter.Precision 屬性

定義

警告

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

取得或設定用來表示 Value 該屬性的最大位數。

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

屬性值

代表該物業的最大 Value 數字數。 預設值為 0,表示資料提供者設定了 的 Value精度。

實作

屬性

備註

設定 Precision OR Scale 屬性不會有影響。

適用於