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設定或 Scale 屬性沒有任何作用。

適用於