共用方式為


RuntimeElementType.GetPrecision 方法

定義

取得集合元素中允許的資料精確度。 例如,如果專案類型為 Decimal ,則這是數位數上限。

[System.Diagnostics.DebuggerStepThrough]
public virtual int? GetPrecision ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member GetPrecision : unit -> Nullable<int>
override this.GetPrecision : unit -> Nullable<int>
Public Overridable Function GetPrecision () As Nullable(Of Integer)

傳回

有效位數,如果沒有 null 定義,則為 。

屬性

適用於